IsBetweenImpl
public class BetweenFilterImpl extends CompareFilterImpl implements PropertyIsBetween
MultiValuedFilter.MatchAction
Modifier and Type | Field and Description |
---|---|
protected Expression |
middleValue
Deprecated.
The 'middle' value, which must be an attribute expression.
|
expression1, expression2
NAME
ALL, 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 |
BetweenFilterImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
accept(FilterVisitor visitor,
Object extraData)
Deprecated.
Used by FilterVisitors to perform some action on this filter instance.
|
void |
addMiddleValue(Expression middleValue)
Deprecated.
|
boolean |
equals(Object oFilter)
Deprecated.
Returns true if the passed in object is the same as this filter.
|
boolean |
evaluate(Object feature)
Deprecated.
Determines whether or not a given feature is 'inside' this filter.
|
Expression |
getExpression()
Deprecated.
Gets the middle value of the between.
|
Expression |
getLowerBoundary()
Deprecated.
Returns the left,lower, or first expression.
|
Expression |
getUpperBoundary()
Deprecated.
Returns the right,upper, or second expression.
|
int |
hashCode()
Deprecated.
Override of hashCode method.
|
void |
setExpression(Expression expression)
Deprecated.
Sets the expression or middle value.
|
void |
setLowerBoundary(Expression lowerBounds)
Deprecated.
Sets the left,lower, or first expression.
|
void |
setUpperBoundary(Expression upperBounds)
Deprecated.
Sets the right,upper, or second expression.
|
String |
toString()
Deprecated.
Returns a string representation of this filter.
|
compare, setExpression1, setExpression2
comparable, eval, eval, getExpression1, getExpression2, getMatchAction, isMatchingCase
isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter
accepts, eval, eval
getMatchAction
protected Expression middleValue
@Deprecated protected BetweenFilterImpl()
public final void addMiddleValue(Expression middleValue)
setExpression(org.opengis.filter.expression.Expression)
middleValue
- The expression to be compared.public void setExpression(Expression expression)
public Expression getExpression()
getExpression
in interface PropertyIsBetween
public Expression getLowerBoundary()
getLowerBoundary
in interface PropertyIsBetween
public void setLowerBoundary(Expression lowerBounds)
public Expression getUpperBoundary()
getUpperBoundary
in interface PropertyIsBetween
public void setUpperBoundary(Expression upperBounds)
public boolean evaluate(Object feature)
public String toString()
toString
in class CompareFilterImpl
public boolean equals(Object oFilter)
equals
in class CompareFilterImpl
oFilter
- the filter to test for eqaulity.public int hashCode()
hashCode
in class CompareFilterImpl
public Object accept(FilterVisitor visitor, Object extraData)
accept
in interface Filter
accept
in class CompareFilterImpl
visitor
- The visitor which requires access to this filter, the method must call
visitor.visit(this);Copyright © 1996–2019 Geotools. All rights reserved.