public class MapGetFunction extends FunctionExpressionImpl implements VolatileFunction
Modifier and Type | Field and Description |
---|---|
static FunctionName |
NAME |
fallback, functionName, name, params
NIL
Constructor and Description |
---|
MapGetFunction() |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(Object feature)
Subclass should override, default implementation returns null.
|
<T> T |
evaluate(Object object,
Class<T> context)
Default implementation delegates handling of context conversion to Converters utility class.
|
accept, equals, functionName, getExpression, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, hashCode, setFallbackValue, setParameters, toString
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpression
getFallbackValue, getFunctionName, getName, getParameters
accept
public static FunctionName NAME
public <T> T evaluate(Object object, Class<T> context)
ExpressionAbstract
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).
evaluate
in interface Expression
evaluate
in class ExpressionAbstract
T
- The type of the returned object.object
- The object to evaluate the expression against.context
- The type of the resulting value of the expression.context
.public Object evaluate(Object feature)
ExpressionAbstract
evaluate
in interface Expression
evaluate
in class FunctionExpressionImpl
Copyright © 1996–2023 Geotools. All rights reserved.