Package org.geotools.filter.function
Class MapGetFunction
Object
ExpressionAbstract
DefaultExpression
FunctionExpressionImpl
MapGetFunction
- All Implemented Interfaces:
Expression,Function,VolatileFunction,FunctionExpression,Factory
Extracts a value from a map given the map name and the needed key as parameters
-
Field Summary
FieldsFields inherited from class FunctionExpressionImpl
fallback, functionName, name, paramsFields inherited from interface Expression
NIL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FunctionExpressionImpl
accept, equals, functionName, getExpression, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, hashCode, setFallbackValue, setParameters, toStringMethods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpressionMethods inherited from interface Expression
acceptMethods inherited from interface Function
getFallbackValue, getFunctionName, getName, getParameters
-
Field Details
-
NAME
-
-
Constructor Details
-
MapGetFunction
public MapGetFunction()
-
-
Method Details
-
evaluate
Description copied from class:ExpressionAbstractDefault implementation delegates handling of context conversion to Converters utility class.Subclasses are expected to make use of the Converters utility class (as the easiest way to provide value morphing in conformance with the Filter specification).
- Specified by:
evaluatein interfaceExpression- Overrides:
evaluatein classExpressionAbstract- Type Parameters:
T- The type of the returned object.- Parameters:
object- The object to evaluate the expression against.context- The type of the resulting value of the expression.- Returns:
- Evaluates the given expression based on the content of the given object an an instance of
context.
-
evaluate
Description copied from class:ExpressionAbstractSubclass should override, default implementation returns null.- Specified by:
evaluatein interfaceExpression- Overrides:
evaluatein classFunctionExpressionImpl- Returns:
- default implementation returns null
-