Package org.apache.calcite.util
Class Smalls.MyThreeParamsSumFunctionWithFilter1
java.lang.Object
org.apache.calcite.util.Smalls.MyThreeParamsSumFunctionWithFilter1
- Enclosing class:
Smalls
Example of a user-defined aggregate function (UDAF), whose methods are
static.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MyThreeParamsSumFunctionWithFilter1
public MyThreeParamsSumFunctionWithFilter1()
-
-
Method Details
-
init
public static long init() -
add
-
merge
public static long merge(long accumulator0, long accumulator1) -
result
public static long result(long accumulator)
-