Package org.geotools.filter
Class AbstractFilter
Object
FilterAbstract
AbstractFilter
- All Implemented Interfaces:
Filter
,FilterType
- Direct Known Subclasses:
BinaryComparisonAbstract
,BinaryLogicAbstract
,FidFilterImpl
,LikeFilterImpl
,NullFilterImpl
Implements Filter interface, with constants and default behaviors for methods.
- Author:
- Rob Hranac, Vision for New York
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Logger
The logger for the default core module.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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
isCompareFilter
(int filterType) Checks to see if passed type is compare.protected static boolean
isGeometryDistanceFilter
(short filterType) Checks to see if passed type is geometry distance type.protected static boolean
isGeometryFilter
(short filterType) Checks to see if passed type is geometry.static boolean
isLogicFilter
(short filterType) Checks to see if passed type is logic.protected static boolean
isMathFilter
(int filterType) Checks to see if passed type is math.static boolean
isSimpleFilter
(short filterType) Checks to see if passed type is logic.Methods inherited from class FilterAbstract
accepts, eval, eval
-
Field Details
-
LOGGER
The logger for the default core module.
-
-
Constructor Details
-
AbstractFilter
protected AbstractFilter()
-
-
Method Details
-
isLogicFilter
public static boolean isLogicFilter(short filterType) Checks to see if passed type is logic.- Parameters:
filterType
- Type of filter for check.- Returns:
- Whether or not this is a logic filter type.
-
isMathFilter
protected static boolean isMathFilter(int filterType) Checks to see if passed type is math.- Parameters:
filterType
- Type of filter for check.- Returns:
- Whether or not this is a math filter type.
-
isCompareFilter
protected static boolean isCompareFilter(int filterType) Checks to see if passed type is compare.- Parameters:
filterType
- Type of filter for check.- Returns:
- Whether or not this is a compare filter type.
-
isGeometryFilter
protected static boolean isGeometryFilter(short filterType) Checks to see if passed type is geometry.- Parameters:
filterType
- Type of filter for check.- Returns:
- Whether or not this is a geometry filter type.
-
isGeometryDistanceFilter
protected static boolean isGeometryDistanceFilter(short filterType) Checks to see if passed type is geometry distance type.- Parameters:
filterType
- Type of filter for check.- Returns:
- Whether or not this is a geometry filter type.
-
isSimpleFilter
public static boolean isSimpleFilter(short filterType) Checks to see if passed type is logic.- Parameters:
filterType
- Type of filter for check.- Returns:
- Whether or not this is a logic filter type.
-