public class IsBetweenImpl extends CompareFilterImpl implements PropertyIsBetween
MultiValuedFilter.MatchAction| Modifier and Type | Field and Description |
|---|---|
protected MultiValuedFilter.MatchAction |
matchAction |
expression1, expression2NAMEALL, BETWEEN, COMPARE_EQUALS, COMPARE_GREATER_THAN, COMPARE_GREATER_THAN_EQUAL, COMPARE_LESS_THAN, COMPARE_LESS_THAN_EQUAL, COMPARE_NOT_EQUALS, FID, GEOMETRY_BBOX, GEOMETRY_BEYOND, GEOMETRY_CONTAINS, GEOMETRY_CROSSES, GEOMETRY_DISJOINT, GEOMETRY_DWITHIN, GEOMETRY_EQUALS, GEOMETRY_INTERSECTS, GEOMETRY_OVERLAPS, GEOMETRY_TOUCHES, GEOMETRY_WITHIN, LIKE, LOGIC_AND, LOGIC_NOT, LOGIC_OR, NONE, NULL| Modifier | Constructor and Description |
|---|---|
protected |
IsBetweenImpl(Expression lower,
Expression expression,
Expression upper) |
protected |
IsBetweenImpl(Expression lower,
Expression expression,
Expression upper,
MultiValuedFilter.MatchAction matchAction) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(FilterVisitor visitor,
Object extraData)
Used by FilterVisitors to perform some action on this filter instance.
|
boolean |
equals(Object obj)
Compares this filter to the specified object.
|
boolean |
evaluate(Object feature)
Give an object, this method determines if the test(s) represented by this filter object
are passed.
|
boolean |
evaluateInternal(Object value,
Object lower,
Object upper) |
Expression |
getExpression()
Returns the expression to be compared by this operator.
|
Expression |
getLowerBoundary()
Returns the lower bounds (inclusive) an an expression.
|
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?
|
Expression |
getUpperBoundary()
Returns the upper bounds (inclusive) as an expression.
|
int |
hashCode()
Override of hashCode method.
|
void |
setExpression(Expression expression) |
void |
setLowerBoundary(Expression lowerBoundary) |
void |
setUpperBoundary(Expression upperBoundary) |
String |
toString()
Returns a string representation of this filter.
|
compare, setExpression1, setExpression2comparable, eval, eval, getExpression1, getExpression2, isMatchingCaseisCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilteraccepts, eval, evalprotected MultiValuedFilter.MatchAction matchAction
protected IsBetweenImpl(Expression lower, Expression expression, Expression upper, MultiValuedFilter.MatchAction matchAction)
protected IsBetweenImpl(Expression lower, Expression expression, Expression upper)
public Expression getExpression()
PropertyIsBetweengetExpression in interface PropertyIsBetweenpublic void setExpression(Expression expression)
public 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 MultiValuedFiltergetMatchAction in class BinaryComparisonAbstractpublic boolean evaluate(Object feature)
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.
public Object accept(FilterVisitor visitor, Object extraData)
CompareFilterImplaccept in interface Filteraccept in class CompareFilterImplvisitor - The visitor which requires access to this filter, the method must call
visitor.visit(this);public Expression getLowerBoundary()
PropertyIsBetweengetLowerBoundary in interface PropertyIsBetweenpublic void setLowerBoundary(Expression lowerBoundary)
public Expression getUpperBoundary()
PropertyIsBetweengetUpperBoundary in interface PropertyIsBetweenpublic void setUpperBoundary(Expression upperBoundary)
public String toString()
CompareFilterImpltoString in class CompareFilterImplpublic int hashCode()
CompareFilterImplhashCode in class CompareFilterImplpublic boolean equals(Object obj)
CompareFilterImplequals in class CompareFilterImplobj - - the object to compare this CompareFilter against.Copyright © 1996–2021 Geotools. All rights reserved.