Package org.geotools.filter
Class NullFilterImpl
Object
FilterAbstract
AbstractFilter
NullFilterImpl
- All Implemented Interfaces:
Filter
,PropertyIsNull
,FilterType
Defines a null filter, which checks to see if an attribute is null.
- Author:
- Rob Hranac, Vision for New York
-
Field Summary
Fields inherited from class AbstractFilter
LOGGER
Fields 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, NULL
Fields inherited from interface PropertyIsNull
NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept
(FilterVisitor visitor, Object extraData) Used by FilterVisitors to perform some action on this filter instance.boolean
Compares this filter to the specified object.boolean
Determines whether or not a given feature is 'inside' this filter.Returns the expression which represents the null check.int
hashCode()
Override of hashCode method.void
setExpression
(Expression nullCheck) Sets the expression which represents the null check.toString()
Returns a string representation of this filter.Methods inherited from class AbstractFilter
isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter
Methods inherited from class FilterAbstract
accepts, eval, eval
-
Constructor Details
-
NullFilterImpl
-
-
Method Details
-
getExpression
Returns the expression which represents the null check.- Specified by:
getExpression
in interfacePropertyIsNull
-
setExpression
Sets the expression which represents the null check. -
evaluate
Determines whether or not a given feature is 'inside' this filter. -
toString
Returns a string representation of this filter. -
equals
Compares this filter to the specified object. Returns true if the passed in object is the same as this filter. Checks to make sure the filter types, and the NullCheckValue are the same. -
hashCode
public int hashCode()Override of hashCode method. -
accept
Used 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.
-