Package org.apache.calcite.interpreter
Class AggregateNode.DoubleSum
java.lang.Object
org.apache.calcite.interpreter.AggregateNode.DoubleSum
- Enclosing class:
AggregateNode
Implementation of
SUM
over DOUBLE values as a user-defined
aggregate.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DoubleSum
public DoubleSum()
-
-
Method Details
-
init
public double init() -
add
public double add(double accumulator, double v) -
merge
public double merge(double accumulator0, double accumulator1) -
result
public double result(double accumulator)
-