public class Collection_SumFunction extends FunctionExpressionImpl
| Modifier and Type | Field and Description |
|---|---|
static FunctionName |
NAME |
fallback, functionName, name, paramsNIL| Constructor and Description |
|---|
Collection_SumFunction()
Creates a new instance of Collection_SumFunction
|
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(Object feature)
Subclass should override, default implementation returns null.
|
void |
setExpression(Expression e) |
void |
setParameters(List<Expression> args)
The provided arguments are evaulated with respect to the FeatureCollection.
|
accept, equals, functionName, getExpression, getFallbackValue, getFunctionName, getImplementationHints, getName, getParameters, hashCode, setFallbackValue, toStringisAttributeExpression, isExpression, isFunctionExpression, isGeometryExpression, isLiteralExpression, isMathExpressionevaluateevaluatepublic static FunctionName NAME
public Collection_SumFunction()
public void setParameters(List<Expression> args)
For an aggregate function (like sum) please use the WFS mandated XPath syntax to refer to featureMember content.
To refer to all 'X': featureMember/asterisk/X
setParameters in interface FunctionExpressionsetParameters in class FunctionExpressionImplpublic Object evaluate(Object feature)
ExpressionAbstractevaluate in interface Expressionevaluate in class FunctionExpressionImplpublic void setExpression(Expression e)
Copyright © 1996–2021 Geotools. All rights reserved.