Package org.geotools.filter
Class IsNilImpl
- All Implemented Interfaces:
Filter,MultiValuedFilter,PropertyIsNil,FilterType
JD: PropertyIsNil requires us to return true if a property is "nil" in the xml schema sense. But we don't really have
notion of schema in our filters. So for now we just make it an alias of PropertyIsNull. When someone (app-schema) has
a need for this we can revisit.
-
Nested Class Summary
Nested classes/interfaces inherited from interface MultiValuedFilter
MultiValuedFilter.MatchAction -
Field Summary
Fields inherited from class BinaryComparisonAbstract
expression1, expression2Fields inherited from interface FilterType
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, NULLFields inherited from interface PropertyIsNil
NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(FilterVisitor visitor, Object extraData) Used by FilterVisitors to perform some action on this filter instance.booleanGive an object, this method determines if the test(s) represented by this filter object are passed.Returns the expression whose value will be checked fornull.The nil reason.Methods inherited from class CompareFilterImpl
compare, equals, hashCode, setExpression1, setExpression2, toStringMethods inherited from class BinaryComparisonAbstract
comparable, eval, eval, getExpression1, getExpression2, getMatchAction, isMatchingCaseMethods inherited from class AbstractFilter
isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilterMethods inherited from class FilterAbstract
accepts, eval, eval
-
Constructor Details
-
IsNilImpl
-
-
Method Details
-
evaluate
Description copied from interface:FilterGive an object, this method determines if the test(s) represented by this filter object are passed.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.
-
getExpression
Description copied from interface:PropertyIsNilReturns the expression whose value will be checked fornull.- Specified by:
getExpressionin interfacePropertyIsNil
-
getNilReason
Description copied from interface:PropertyIsNilThe nil reason.- Specified by:
getNilReasonin interfacePropertyIsNil
-
accept
Description copied from class:CompareFilterImplUsed by FilterVisitors to perform some action on this filter instance. Typicaly used by Filter decoders, but may also be used by any thing which needs infomration from filter structure. Implementations should always call: visitor.visit(this); It is importatant that this is not left to a parent class unless the parents API is identical.- Specified by:
acceptin interfaceFilter- Specified by:
acceptin classCompareFilterImpl- Parameters:
visitor- The visitor which requires access to this filter, the method must call visitor.visit(this);
-