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()
BinaryTemporalOperatorgetExpression1 in interface BinaryTemporalOperatorpublic Expression getExpression2()
BinaryTemporalOperatorgetExpression2 in interface BinaryTemporalOperatorpublic MultiValuedFilter.MatchAction getMatchAction()
MultiValuedFilterANY - 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 MultiValuedFilterpublic boolean evaluate(Object object)
FilterThis 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–2021 Geotools. All rights reserved.