public class SumAggregator extends AggregatorNode
GroupingExpression
. It evaluates to the sum of the values that
the contained expression evaluated to over all the inputs.Constructor and Description |
---|
SumAggregator(GroupingExpression expression)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
SumAggregator |
copy()
Returns a deep copy of this
|
getExpression, resolveLevel, visit
asImage, asString, getLevel, getLevelOrNull, setLabel
getImage, getLabel, toString
public SumAggregator(GroupingExpression expression)
expression
- the expression to aggregate on.public SumAggregator copy()
GroupingExpression
copy
in class GroupingExpression
Copyright © 2018. All rights reserved.