Package org.apache.calcite.util
Class Smalls.MyTwoParamsSumFunctionFilter2
java.lang.Object
org.apache.calcite.util.Smalls.MyTwoParamsSumFunctionFilter2
- Enclosing class:
Smalls
Another example of a user-defined aggregate function (UDAF) with two
parameters.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MyTwoParamsSumFunctionFilter2
public MyTwoParamsSumFunctionFilter2()
-
-
Method Details
-
init
public long init() -
add
-
merge
public long merge(long accumulator0, long accumulator1) -
result
public long result(long accumulator)
-