Package org.apache.calcite.interpreter
Class AggregateNode.LongSum
java.lang.Object
org.apache.calcite.interpreter.AggregateNode.LongSum
- Enclosing class:
AggregateNode
Implementation of
SUM
over BIGINT values as a user-defined
aggregate.-
Constructor Summary
-
Method Summary
-
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)
-