org.geotools.filter
Interface NullFilter
- All Superinterfaces:
- Filter, FilterType, PropertyIsNull
- All Known Implementing Classes:
- IsNullImpl, NullFilterImpl
Deprecated. use PropertyIsNull
public interface NullFilter
- extends Filter, PropertyIsNull
Defines a null filter, which checks to see if an attribute is null.
- Author:
- Rob Hranac, Vision for New York, Chris Holmes, TOPP
- Module:
modules/library/api (gt-api.jar)
Fields inherited from interface FilterType |
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, NULL |
Fields inherited from interface Filter |
EXCLUDE, INCLUDE |
Fields inherited from interface PropertyIsNull |
NAME |
Fields inherited from interface Filter |
EXCLUDE, INCLUDE |
Methods inherited from interface Filter |
accept, evaluate |
Methods inherited from interface PropertyIsNull |
getExpression |
Methods inherited from interface Filter |
accept, evaluate |
nullCheckValue
void nullCheckValue(Expression nullCheck)
throws IllegalFilterException
- Deprecated. use
PropertyIsNull#setExpression(Expression)
- Determines whether or not a given feature is 'inside' this filter.
- Parameters:
nullCheck
- The attribute expression to null check.
- Throws:
IllegalFilterException
- If attempting to add a non-attribute
expression.- TODO:
- REVISIT: change arg to AttributeExpression?, REVISIT: change name to setNullCheckValue.
getNullCheckValue
Expression getNullCheckValue()
- Deprecated. use
PropertyIsNull.getExpression()
- Returns the expression being checked for null.
- Returns:
- the Expression to null check.
contains
boolean contains(SimpleFeature feature)
- Deprecated. use
org.opengis.filter.Filter#evaluate(Feature)
- Determines whether or not a given feature is null for the nullCheck
attribute.
- Parameters:
feature
- Specified feature to examine.
- Returns:
- Flag confirming whether or not this feature is inside the
filter.
Copyright © 1996-2009 Geotools. All Rights Reserved.