Class AggregateNode.IntSum

  • Enclosing class:

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

      Constructor Description
    • Method Summary

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

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

      • IntSum

        public IntSum()
    • Method Detail

      • init

        public int init()
      • add

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

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

        public int result​(int accumulator)