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