public class IsNilImpl extends CompareFilterImpl implements PropertyIsNil
MultiValuedFilter.MatchAction
expression1, expression2
NAME
ALL, BETWEEN, COMPARE_EQUALS, COMPARE_GREATER_THAN, COMPARE_GREATER_THAN_EQUAL, COMPARE_LESS_THAN, COMPARE_LESS_THAN_EQUAL, COMPARE_NOT_EQUALS, FID, GEOMETRY_BBOX, GEOMETRY_BEYOND, GEOMETRY_CONTAINS, GEOMETRY_CROSSES, GEOMETRY_DISJOINT, GEOMETRY_DWITHIN, GEOMETRY_EQUALS, GEOMETRY_INTERSECTS, GEOMETRY_OVERLAPS, GEOMETRY_TOUCHES, GEOMETRY_WITHIN, LIKE, LOGIC_AND, LOGIC_NOT, LOGIC_OR, NONE, NULL
Constructor and Description |
---|
IsNilImpl(Expression e1,
Object nilReason) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(FilterVisitor visitor,
Object extraData)
Used by FilterVisitors to perform some action on this filter instance.
|
boolean |
evaluate(Object object)
Give an object, this method determines if the test(s) represented by this filter object
are passed.
|
Expression |
getExpression()
Returns the expression whose value will be checked for
null . |
Object |
getNilReason()
The nil reason.
|
compare, equals, hashCode, setExpression1, setExpression2, toString
comparable, eval, eval, getExpression1, getExpression2, getMatchAction, isMatchingCase
isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter
accepts, eval, eval
public IsNilImpl(Expression e1, Object nilReason)
public boolean evaluate(Object object)
Filter
This ability is used to allow Queries against both Features and and non spatial data (such as Record) and to express constraints on permissable data values.
public Expression getExpression()
PropertyIsNil
null
.getExpression
in interface PropertyIsNil
public Object getNilReason()
PropertyIsNil
getNilReason
in interface PropertyIsNil
public Object accept(FilterVisitor visitor, Object extraData)
CompareFilterImpl
accept
in interface Filter
accept
in class CompareFilterImpl
visitor
- The visitor which requires access to this filter, the method must call
visitor.visit(this);Copyright © 1996–2021 Geotools. All rights reserved.