public class InFunction extends FunctionExpressionImpl
If the candidate value is found, the function returns true
; otherwise, it returns
false
.
Modifier and Type | Field and Description |
---|---|
static FunctionName |
NAME |
fallback, functionName, name, params
NIL
Constructor and Description |
---|
InFunction() |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(Object feature)
Subclass should override, default implementation returns null.
|
int |
getArgCount() |
static FilterCapabilities |
getInCapabilities()
Returns filter capabilities for all the "in" functions
|
String |
getName()
Gets the name of this function.
|
static boolean |
isInFunction(Expression expression)
Returns true if the expression is a function in the "in" family, that is, "in", "in2", "in3",
...
|
accept, equals, functionName, getExpression, getFallbackValue, getFunctionName, getImplementationHints, getParameters, hashCode, setFallbackValue, setParameters, toString
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression
evaluate
evaluate
public static FunctionName NAME
public static boolean isInFunction(Expression expression)
expression
- The expression to be testedpublic static FilterCapabilities getInCapabilities()
FilterCapabilities
with all the functions in the "in" familypublic String getName()
FunctionExpressionImpl
getName
in interface Function
getName
in class FunctionExpressionImpl
public int getArgCount()
public Object evaluate(Object feature)
ExpressionAbstract
evaluate
in interface Expression
evaluate
in class FunctionExpressionImpl
Copyright © 1996–2019 Geotools. All rights reserved.