Class Smalls.MyThreeParamsSumFunctionWithFilter1

  • Enclosing class:
    Smalls

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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long add​(long accumulator, int v1, java.lang.String v2, java.lang.String v3)  
      static long init()  
      static long merge​(long accumulator0, long accumulator1)  
      static long result​(long accumulator)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MyThreeParamsSumFunctionWithFilter1

        public MyThreeParamsSumFunctionWithFilter1()
    • Method Detail

      • init

        public static long init()
      • add

        public static long add​(long accumulator,
                               int v1,
                               java.lang.String v2,
                               java.lang.String v3)
      • merge

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

        public static long result​(long accumulator)