Package org.geotools.api.filter
The following is adapted from the OpenGIS® Filter Encoding Implementation Specification:
Comparison operators
A comparison operator is used to form expressions that evaluate the mathematical comparison
between two arguments. If the arguments satisfy the comparison then the expression
evaluates to true
. Otherwise the expression evaluates to
false
.
In addition to the standard set (=
,<
,>
,>=
,<=
,<>
)
of comparison operators, this package defines the elements PropertyIsLike
,
PropertyIsBetween
and PropertyIsNull
.
Logical operators
A logical operator can be used to combine one or more conditional expressions. The logical
operator And
evaluates to true
if all the combined expressions evaluate to
true
. The operator Or
operator evaluates to true
is any of the
combined expressions evaluate to true
. The Not
operator reverses the logical
value of an expression. The elements And
, Or
and Not
can be used to combine scalar, spatial
and other logical expressions to form more complex compound expressions.
Identity
Identity can be checked using Id
, selected objects will are
matched against a set of org.geotools.api.filter.identiy.Identifier
.
-
ClassDescriptionAbstract base class for filters that compare exactly two values against each other.Abstract super-interface for logical operators that accept two or more other logical values as inputs.Indicating "filter all", evaluates to
false
.Defines a constraint that can be checked against an instance of an object (Usually a Feature).Interface whose methods allow the caller to create instances of the variousFilter
andExpression
subclasses.Visitor withvisit
methods to be called byFilter.accept(...)
.A filter that passes only the Identifiers listed.Indicating "no filtering", evaluates totrue
.Defines a filter that supports filtering on multi-valued attributes.Enumerated type for MatchAction property (used by comparison and geometry operations): When one or more of the operands evaluates to multiple values rather than a single value, which action should be taken?This filter should be treated as an extension point that allows the injection of a complex filtering expression defined in the language of the target data store.Reverses the logical value of an expression.A compact way of encoding a range check.Filter operator that compares that its two sub-expressions are equal to each other.Filter operator that checks that its first sub-expression is greater than its second subexpression.Filter operator that checks that its first sub-expression is greater or equal to its second subexpression.Filter operator that checks that its first sub-expression is less than its second subexpression.Filter operator that checks that its first sub-expression is less than or equal to its second subexpression.Filter operator that performs the equivalent of the SQL "like
" operator on properties of a feature.Filter operator that checks if an expression's value is nil.Filter operator that compares that its two sub-expressions are not equal to each other.Filter operator that checks if an expression's value isnull
.