Class KvInnerSortFlusher

    • Constructor Summary

      Constructors 
      Constructor Description
      KvInnerSortFlusher​(org.apache.hugegraph.computer.core.io.RandomAccessOutput output)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void flush​(java.util.Iterator<KvEntry> entries)
      Combine the list of inputValues, and write the combined result length and results to output.
      org.apache.hugegraph.computer.core.io.RandomAccessOutput output()
      Flush result to this output.
      • Methods inherited from class java.lang.Object

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

      • KvInnerSortFlusher

        public KvInnerSortFlusher​(org.apache.hugegraph.computer.core.io.RandomAccessOutput output)
    • Method Detail

      • output

        public org.apache.hugegraph.computer.core.io.RandomAccessOutput output()
        Description copied from interface: InnerSortFlusher
        Flush result to this output.
        Specified by:
        output in interface InnerSortFlusher
      • flush

        public void flush​(java.util.Iterator<KvEntry> entries)
                   throws java.io.IOException
        Description copied from interface: InnerSortFlusher
        Combine the list of inputValues, and write the combined result length and results to output.
        Specified by:
        flush in interface InnerSortFlusher
        Throws:
        java.io.IOException