Class AggregateNode.DoubleSum

  • Enclosing class:

    public static class AggregateNode.DoubleSum
    extends java.lang.Object
    Implementation of SUM over DOUBLE values as a user-defined aggregate.
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double add​(double accumulator, double v)  
      double init()  
      double merge​(double accumulator0, double accumulator1)  
      double result​(double accumulator)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DoubleSum

        public DoubleSum()
    • Method Detail

      • init

        public double init()
      • add

        public double add​(double accumulator,
                          double v)
      • merge

        public double merge​(double accumulator0,
                            double accumulator1)
      • result

        public double result​(double accumulator)