Class AggregateNode.IntSum

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

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

    • IntSum

      public IntSum()
  • Method Details

    • init

      public int init()
    • add

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

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

      public int result(int accumulator)