public abstract class BinaryTemporalOperatorImpl extends Object implements BinaryTemporalOperator
MultiValuedFilter.MatchAction
Modifier and Type | Field and Description |
---|---|
protected Expression |
e1 |
protected Expression |
e2 |
protected MultiValuedFilter.MatchAction |
matchAction |
Modifier | Constructor and Description |
---|---|
protected |
BinaryTemporalOperatorImpl(Expression e1,
Expression e2) |
protected |
BinaryTemporalOperatorImpl(Expression e1,
Expression e2,
MultiValuedFilter.MatchAction matchAction) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
doEvaluate(RelativePosition pos) |
boolean |
equals(Object obj) |
boolean |
evaluate(Object object)
Give an object, this method determines if the test(s) represented by this filter object
are passed.
|
Expression |
getExpression1()
Returns the first of the two expressions to be compared by this operator.
|
Expression |
getExpression2()
Returns the second of the two expressions to be compared by this operator.
|
MultiValuedFilter.MatchAction |
getMatchAction()
* 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?
|
int |
hashCode() |
protected Instant |
toInstant(Object object,
Expression e) |
protected Period |
toPeriod(Object object,
Expression e) |
String |
toString()
Return this filter as a string.
|
protected TemporalPrimitive |
toTemporal(Object object,
Expression e) |
protected Expression e1
protected Expression e2
protected MultiValuedFilter.MatchAction matchAction
protected BinaryTemporalOperatorImpl(Expression e1, Expression e2)
protected BinaryTemporalOperatorImpl(Expression e1, Expression e2, MultiValuedFilter.MatchAction matchAction)
public Expression getExpression1()
BinaryTemporalOperator
getExpression1
in interface BinaryTemporalOperator
public Expression getExpression2()
BinaryTemporalOperator
getExpression2
in interface BinaryTemporalOperator
public MultiValuedFilter.MatchAction getMatchAction()
MultiValuedFilter
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)
getMatchAction
in interface MultiValuedFilter
public boolean evaluate(Object object)
Filter
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.
protected Instant toInstant(Object object, Expression e)
protected Period toPeriod(Object object, Expression e)
protected TemporalPrimitive toTemporal(Object object, Expression e)
protected abstract boolean doEvaluate(RelativePosition pos)
Copyright © 1996–2023 Geotools. All rights reserved.