Class AggregateNode.LongSum

  • Enclosing class:
    AggregateNode

    public static class AggregateNode.LongSum
    extends java.lang.Object
    Implementation of SUM over BIGINT values as a user-defined aggregate.
    • Constructor Summary

      Constructors 
      Constructor Description
      LongSum()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long add​(long accumulator, long v)  
      long init()  
      long merge​(long accumulator0, long accumulator1)  
      long result​(long accumulator)  
      • Methods inherited from class java.lang.Object

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

      • LongSum

        public LongSum()
    • Method Detail

      • init

        public long init()
      • add

        public long add​(long accumulator,
                        long v)
      • merge

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

        public long result​(long accumulator)