Class AggregateNode.LongSum

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

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

    • LongSum

      public LongSum()
  • Method Details

    • init

      public long init()
    • add

      public long add(long accumulator, long v)
    • merge

      public long merge(long accumulator0, long accumulator1)
    • result

      public long result(long accumulator)