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, paramsNIL| 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, toStringisAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpressionevaluateevaluatepublic 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()
FunctionExpressionImplgetName in interface FunctiongetName in class FunctionExpressionImplpublic int getArgCount()
public Object evaluate(Object feature)
ExpressionAbstractevaluate in interface Expressionevaluate in class FunctionExpressionImplCopyright © 1996–2021 Geotools. All rights reserved.