|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.filter.FilterCapabilities org.geotools.filter.FilterCapabilitiesMask
This class should be merged with FilterCapabilities at some point
Field Summary | |
static int |
BBOX
Spatial Mask for bbox operation |
static int |
BETWEEN
Scalar Mask for between operation |
static int |
BEYOND
Spatial Mask for beyond operation |
static int |
CONTAINS
Spatial Mask for contains operation |
static int |
CROSSES
Spatial Mask for crosses operation |
static int |
DISJOINT
Spatial Mask for disjoint operation |
static int |
DWITHIN
Spatial Mask for dwithin operation |
static int |
EQUALS
Spatial Mask for equals operation |
static int |
FUNCTIONS
Scalar Mask for function operations |
static int |
INTERSECT
Spatial Mask for intersect operation |
static int |
LIKE
Scalar Mask for like operation |
static int |
LOGICAL
Scalar Mask for logical operation |
static int |
NO_OP
Mask for no operation |
static int |
NULL_CHECK
Scalar Mask for null check operation |
static int |
OVERLAPS
Spatial Mask for overlaps operation |
static int |
SIMPLE_ARITHMETIC
Scalar Mask for simple arithmetic operations |
static int |
SIMPLE_COMPARISONS
Scalar Mask for simple comparison operations |
static int |
TOUCHES
Spatial Mask for touches operation |
static int |
WITHIN
Spatial Mask for within operation |
Constructor Summary | |
FilterCapabilitiesMask()
|
Method Summary | |
void |
addType(short type)
Adds a new support type to capabilities. |
static int |
findOperation(java.lang.String s)
Translates a String into an int mask for the operation |
boolean |
fullySupports(Filter filter)
Determines if the filter and all its sub filters are supported. |
int |
getScalarOps()
|
int |
getSpatialOps()
|
boolean |
supports(Filter filter)
Determines if the filter passed in is supported. |
boolean |
supports(short type)
Determines if the filter type passed in is supported. |
static java.lang.String |
writeScalarOperation(int i)
Converts a singular mask to the appropriate string as a Scalar Op |
static java.lang.String |
writeSpatialOperation(int i)
Converts a singular mask to the appropriate string as a Spatial Op |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NO_OP
public static final int BBOX
public static final int EQUALS
public static final int DISJOINT
public static final int INTERSECT
public static final int TOUCHES
public static final int CROSSES
public static final int WITHIN
public static final int CONTAINS
public static final int OVERLAPS
public static final int BEYOND
public static final int DWITHIN
public static final int LOGICAL
public static final int SIMPLE_COMPARISONS
public static final int LIKE
public static final int BETWEEN
public static final int NULL_CHECK
public static final int SIMPLE_ARITHMETIC
public static final int FUNCTIONS
Constructor Detail |
public FilterCapabilitiesMask()
Method Detail |
public static int findOperation(java.lang.String s)
s
- String, operation name
public static java.lang.String writeSpatialOperation(int i)
i
- The int constant
public static java.lang.String writeScalarOperation(int i)
i
- The int constant
public void addType(short type)
FilterCapabilities
addType
in class FilterCapabilities
type
- The AbstractFilter type that is supportedpublic boolean fullySupports(Filter filter)
FilterCapabilities
fullySupports
in class FilterCapabilities
filter
- the filter to be tested.
public boolean supports(Filter filter)
FilterCapabilities
supports
in class FilterCapabilities
filter
- The Filter to be tested.
public boolean supports(short type)
FilterCapabilities
supports
in class FilterCapabilities
type
- The AbstractFilter type to be tested
public int getScalarOps()
public int getSpatialOps()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |