Class SumAggregator


public class SumAggregator extends AggregatorNode
This class represents an sum-aggregator in a GroupingExpression. It evaluates to the sum of the values that the contained expression evaluated to over all the inputs.
Author:
Simon Thoresen Hult, bratseth
  • Constructor Details

    • SumAggregator

      public SumAggregator(GroupingExpression expression)
      Constructs a new instance of this class.
      Parameters:
      expression - the expression to aggregate on.
  • Method Details