Package org.apache.calcite.util
Class Smalls.MySumFunction
- java.lang.Object
-
- org.apache.calcite.util.Smalls.MySumFunction
-
- Enclosing class:
- Smalls
public static class Smalls.MySumFunction extends java.lang.Object
Example of a user-defined aggregate function (UDAF).
-
-
Constructor Summary
Constructors Constructor Description MySumFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
add(long accumulator, int v)
long
init()
long
merge(long accumulator0, long accumulator1)
long
result(long accumulator)
-