public class IsNullImpl extends CompareFilterImpl implements PropertyIsNull
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 |
---|
IsNullImpl(Expression expression) |
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 feature)
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 . |
void |
setExpression(Expression expression) |
compare, equals, hashCode, setExpression1, setExpression2, toString
comparable, eval, eval, getExpression1, getExpression2, getMatchAction, isMatchingCase
isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter
accepts, eval, eval
public IsNullImpl(Expression expression)
public boolean evaluate(Object feature)
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 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);public Expression getExpression()
PropertyIsNull
null
.getExpression
in interface PropertyIsNull
public void setExpression(Expression expression)
Copyright © 1996–2019 Geotools. All rights reserved.