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