public class IsNilImpl extends CompareFilterImpl implements PropertyIsNil
MultiValuedFilter.MatchActionexpression1, expression2NAMEALL, 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, toStringcomparable, eval, eval, getExpression1, getExpression2, getMatchAction, isMatchingCaseisCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilteraccepts, eval, evalpublic IsNilImpl(Expression e1, Object nilReason)
public boolean evaluate(Object object)
FilterThis 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()
PropertyIsNilnull.getExpression in interface PropertyIsNilpublic Object getNilReason()
PropertyIsNilgetNilReason in interface PropertyIsNilpublic Object accept(FilterVisitor visitor, Object extraData)
CompareFilterImplaccept in interface Filteraccept in class CompareFilterImplvisitor - The visitor which requires access to this filter, the method must call
visitor.visit(this);Copyright © 1996–2021 Geotools. All rights reserved.