public abstract class MultiCompareFilterImpl extends CompareFilterImpl
MultiValuedFilter.MatchAction
Modifier and Type | Field and Description |
---|---|
protected MultiValuedFilter.MatchAction |
matchAction |
expression1, expression2
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 |
MultiCompareFilterImpl(Expression e1,
Expression e2) |
protected |
MultiCompareFilterImpl(Expression e1,
Expression e2,
boolean matchCase) |
protected |
MultiCompareFilterImpl(Expression e1,
Expression e2,
boolean matchCase,
MultiValuedFilter.MatchAction matchAction) |
protected |
MultiCompareFilterImpl(Expression e1,
Expression e2,
MultiValuedFilter.MatchAction matchAction) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Object feature)
Give an object, this method determines if the test(s) represented by this filter object
are passed.
|
abstract boolean |
evaluateInternal(Object value1,
Object value2) |
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?
|
accept, compare, equals, hashCode, setExpression1, setExpression2, toString
comparable, eval, eval, getExpression1, getExpression2, isMatchingCase
isCompareFilter, isGeometryDistanceFilter, isGeometryFilter, isLogicFilter, isMathFilter, isSimpleFilter
accepts, eval, eval
protected MultiValuedFilter.MatchAction matchAction
protected MultiCompareFilterImpl(Expression e1, Expression e2)
protected MultiCompareFilterImpl(Expression e1, Expression e2, boolean matchCase)
protected MultiCompareFilterImpl(Expression e1, Expression e2, MultiValuedFilter.MatchAction matchAction)
protected MultiCompareFilterImpl(Expression e1, Expression e2, boolean matchCase, MultiValuedFilter.MatchAction matchAction)
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
getMatchAction
in class BinaryComparisonAbstract
public final boolean evaluate(Object feature)
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.
true if the test(s) are passed for the provided object
Copyright © 1996–2022 Geotools. All rights reserved.