Package org.apache.calcite.interpreter
Class AggregateNode.LongSum
- java.lang.Object
-
- org.apache.calcite.interpreter.AggregateNode.LongSum
-
- Enclosing class:
- AggregateNode
public static class AggregateNode.LongSum extends java.lang.Object
Implementation ofSUM
over BIGINT values as a user-defined aggregate.
-
-
Constructor Summary
Constructors Constructor Description LongSum()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
add(long accumulator, long v)
long
init()
long
merge(long accumulator0, long accumulator1)
long
result(long accumulator)
-