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