Package org.geotools.filter.function
Class Collection_BoundsFunction
Object
ExpressionAbstract
DefaultExpression
FunctionExpressionImpl
Collection_BoundsFunction
- All Implemented Interfaces:
Expression,Function,FunctionExpression,Factory
Calculates the bounds of an attribute for a given FeatureCollection and Expression.
- Since:
- 2.2M2
- Author:
- Cory Horner
-
Field Summary
FieldsFields inherited from class FunctionExpressionImpl
fallback, functionName, name, paramsFields inherited from interface Expression
NIL -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of Collection_BoundsFunction -
Method Summary
Modifier and TypeMethodDescriptionSubclass should override, default implementation returns null.voidvoidsetParameters(List<Expression> args) The provided arguments are evaulated with respect to the FeatureCollection.Methods inherited from class FunctionExpressionImpl
accept, equals, functionName, getExpression, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, hashCode, setFallbackValue, toStringMethods inherited from class DefaultExpression
isAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpressionMethods inherited from class ExpressionAbstract
evaluateMethods inherited from interface Expression
evaluate
-
Field Details
-
NAME
-
-
Constructor Details
-
Collection_BoundsFunction
public Collection_BoundsFunction()Creates a new instance of Collection_BoundsFunction
-
-
Method Details
-
setExpression
-
setParameters
The provided arguments are evaulated with respect to the FeatureCollection.For an aggregate function (like unique) please use the WFS mandated XPath syntax to refer to featureMember content.
To refer to all 'X':
featureMember/asterisk/X- Specified by:
setParametersin interfaceFunctionExpression- Overrides:
setParametersin classFunctionExpressionImpl- Parameters:
args- Function parameters- Throws:
IllegalArgumentException- If parameters do not match FunctionName
-
evaluate
Description copied from class:ExpressionAbstractSubclass should override, default implementation returns null.- Specified by:
evaluatein interfaceExpression- Overrides:
evaluatein classFunctionExpressionImpl- Returns:
- default implementation returns null
-