Class AggregateNode.DoubleSum

java.lang.Object
org.apache.calcite.interpreter.AggregateNode.DoubleSum
Enclosing class:
AggregateNode

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

    • DoubleSum

      public DoubleSum()
  • Method Details

    • 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)