Package org.geotools.filter.temporal
Class BinaryTemporalOperatorImpl
Object
BinaryTemporalOperatorImpl
- All Implemented Interfaces:
Filter,MultiValuedFilter,BinaryTemporalOperator
- Direct Known Subclasses:
AfterImpl,AnyInteractsImpl,BeforeImpl,BeginsImpl,BegunByImpl,DuringImpl,EndedByImpl,EndsImpl,MeetsImpl,MetByImpl,OverlappedByImpl,TContainsImpl,TEqualsImpl,TOverlapsImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface MultiValuedFilter
MultiValuedFilter.MatchAction -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Expressionprotected Expressionprotected MultiValuedFilter.MatchAction -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedBinaryTemporalOperatorImpl(Expression e1, Expression e2, MultiValuedFilter.MatchAction matchAction) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleanbooleanbooleanGive an object, this method determines if the test(s) represented by this filter object are passed.Returns the first of the two expressions to be compared by this operator.Returns the second of the two expressions to be compared by this operator.* Flag Controlling MatchAction property When one or more of the operands evaluates to multiple values rather than a single value, which action should be taken?inthashCode()protected InstanttoInstant(Object object, Expression e) protected PeriodtoPeriod(Object object, Expression e) toString()Return this filter as a string.protected TemporalPrimitivetoTemporal(Object object, Expression e)
-
Field Details
-
e1
-
e2
-
matchAction
-
-
Constructor Details
-
BinaryTemporalOperatorImpl
-
BinaryTemporalOperatorImpl
protected BinaryTemporalOperatorImpl(Expression e1, Expression e2, MultiValuedFilter.MatchAction matchAction)
-
-
Method Details
-
getExpression1
Description copied from interface:BinaryTemporalOperatorReturns the first of the two expressions to be compared by this operator.- Specified by:
getExpression1in interfaceBinaryTemporalOperator
-
getExpression2
Description copied from interface:BinaryTemporalOperatorReturns the second of the two expressions to be compared by this operator.- Specified by:
getExpression2in interfaceBinaryTemporalOperator
-
getMatchAction
Description copied from interface:MultiValuedFilter* Flag Controlling MatchAction property When one or more of the operands evaluates to multiple values rather than a single value, which action should be taken? If there are n values for the left operand and m values for the right operand, there are n * m possible combinations that can be compared,ANY - if any of the possible combinations match, the result is true (aggregated OR) ALL - only if all of the possible combinations match, the result is true (aggregated AND) ONE - only if exactly one of the possible combinations match, the result is true (aggregated XOR)
- Specified by:
getMatchActionin interfaceMultiValuedFilter- Returns:
- MatchAction flag
-
evaluate
Description copied from interface:FilterGive an object, this method determines if the test(s) represented by this filter object are passed.This ability is used to allow Queries against both Features and and non spatial data (such as Record) and to express constraints on permissable data values.
-
toInstant
-
toPeriod
-
toTemporal
-
doEvaluate
-
hashCode
public int hashCode() -
equals
-
toString
Return this filter as a string.
-