Package org.geotools.filter.function
Class IDFunction
-
- All Implemented Interfaces:
Expression,Function,VolatileFunction,FunctionExpression,Factory
public class IDFunction extends FunctionExpressionImpl implements VolatileFunction
Allow access to the value of Feature.getID() as an expression- Since:
- 2.2, 2.5
- Author:
- Jody Garnett
-
-
Field Summary
Fields Modifier and Type Field Description static FunctionNameNAME-
Fields inherited from class FunctionExpressionImpl
fallback, functionName, name, params
-
Fields inherited from interface Expression
NIL
-
-
Constructor Summary
Constructors Constructor Description IDFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectevaluate(Object obj)Subclass should override, default implementation returns null.StringtoString()Creates a String representation of this Function with the function name and the arguments.-
Methods inherited from class FunctionExpressionImpl
accept, equals, functionName, getExpression, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, hashCode, setFallbackValue, setParameters
-
Methods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression
-
Methods inherited from class ExpressionAbstract
evaluate
-
Methods inherited from interface Expression
accept, evaluate
-
Methods inherited from interface Function
getFallbackValue, getFunctionName, getName, getParameters
-
-
-
-
Field Detail
-
NAME
public static FunctionName NAME
-
-
Method Detail
-
toString
public String toString()
Description copied from class:FunctionExpressionImplCreates a String representation of this Function with the function name and the arguments. The String created should be good for most subclasses- Overrides:
toStringin classFunctionExpressionImpl
-
evaluate
public Object evaluate(Object obj)
Description copied from class:ExpressionAbstractSubclass should override, default implementation returns null.- Specified by:
evaluatein interfaceExpression- Overrides:
evaluatein classFunctionExpressionImpl- Returns:
- default implementation returns null
-
-