Class Smalls.MyThreeParamsSumFunctionWithFilter1

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

public static class Smalls.MyThreeParamsSumFunctionWithFilter1 extends Object
Example of a user-defined aggregate function (UDAF), whose methods are static.
  • Constructor Details

    • MyThreeParamsSumFunctionWithFilter1

      public MyThreeParamsSumFunctionWithFilter1()
  • Method Details

    • init

      public static long init()
    • add

      public static long add(long accumulator, int v1, String v2, String v3)
    • merge

      public static long merge(long accumulator0, long accumulator1)
    • result

      public static long result(long accumulator)