Class Smalls.MyThreeParamsSumFunctionWithFilter2

java.lang.Object
org.apache.calcite.util.Smalls.MyThreeParamsSumFunctionWithFilter2
Enclosing class:
Smalls

public static class Smalls.MyThreeParamsSumFunctionWithFilter2 extends Object
Example of a user-defined aggregate function (UDAF), whose methods are static. Similar to Smalls.MyThreeParamsSumFunctionWithFilter1, but argument types are different.
  • 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)