public abstract class CompareFilterImpl extends BinaryComparisonAbstract
MultiValuedFilter.MatchActionexpression1, expression2ALL, 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 |
CompareFilterImpl(Expression e1,
Expression e2) |
protected |
CompareFilterImpl(Expression e1,
Expression e2,
boolean matchCase) |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
accept(FilterVisitor visitor,
Object extraData)
Used by FilterVisitors to perform some action on this filter instance.
|
protected int |
compare(Comparable leftObj,
Comparable rightObj)
Subclass convenience method which compares to instances of comparables in a pretty lax way,
converting types among String, Number, Double when appropriate.
|
boolean |
equals(Object obj)
Compares this filter to the specified object.
|
int |
hashCode()
Override of hashCode method.
|
void |
setExpression1(Expression leftValue) |
void |
setExpression2(Expression rightValue) |
String |
toString()
Returns a string representation of this filter.
|
comparable, eval, eval, getExpression1, getExpression2, getMatchAction, isMatchingCaseisCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilteraccepts, eval, evalprotected CompareFilterImpl(Expression e1, Expression e2)
protected CompareFilterImpl(Expression e1, Expression e2, boolean matchCase)
public void setExpression1(Expression leftValue)
setExpression1 in class BinaryComparisonAbstractpublic void setExpression2(Expression rightValue)
setExpression2 in class BinaryComparisonAbstractprotected int compare(Comparable leftObj, Comparable rightObj)
Comparable.compareTo(java.lang.Object).public String toString()
public boolean equals(Object obj)
public int hashCode()
public abstract Object accept(FilterVisitor visitor, Object extraData)
visitor - The visitor which requires access to this filter, the method must call
visitor.visit(this);Copyright © 1996–2021 Geotools. All rights reserved.