Class SumFunction

  • All Implemented Interfaces:
    org.dashbuilder.dataset.group.AggregateFunction
    Direct Known Subclasses:
    AverageFunction

    public class SumFunction
    extends AbstractFunction
    It calculates the sum value of a set of numbers.
    • Constructor Detail

      • SumFunction

        public SumFunction()
    • Method Detail

      • getType

        public org.dashbuilder.dataset.group.AggregateFunctionType getType()
      • aggregate

        public Object aggregate​(List values)