- Type Parameters:
R- the type of resources (e.g.Feature) to filter.
- All Known Subinterfaces:
BetweenComparisonOperator<R>,BinaryComparisonOperator<R>,LikeOperator<R>,NilOperator<R>,NullOperator<R>
@Classifier(ABSTRACT)
@UML(identifier="ComparisonOperator",
specification=ISO_19143)
public interface ComparisonOperator<R>
extends Filter<R>
An operator that evaluates the mathematical comparison between arguments.
If the arguments satisfy the comparison then the operator evaluates to
true.
Otherwise the operator evaluates to false.
The arguments are given as expressions. The number of expressions depends on the sub-type:
NullOperatorandNilOperatorexpect one expression.BinaryComparisonOperatorandLikeOperatorexpect two expressions.BetweenComparisonOperatorexpects three expressions.
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionReturns the nature of the comparison.Methods inherited from interface org.opengis.filter.Filter
getExpressions, getResourceClass, test
-
Method Details
-
getOperatorType
@UML(identifier="BinaryComparisonOperator.operatorType", obligation=MANDATORY, specification=ISO_19143) ComparisonOperatorName getOperatorType()Returns the nature of the comparison. A standard set of comparison operators is equal to, less than, greater than, less than or equal to, greater than or equal to and not equal to.- Specified by:
getOperatorTypein interfaceFilter<R>- Returns:
- the nature of the comparison.
-