Class KvInnerSortFlusher
- java.lang.Object
-
- org.apache.hugegraph.computer.core.sort.flusher.KvInnerSortFlusher
-
- All Implemented Interfaces:
InnerSortFlusher
public class KvInnerSortFlusher extends java.lang.Object implements InnerSortFlusher
-
-
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 voidflush(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.RandomAccessOutputoutput()Flush result to this output.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.hugegraph.computer.core.sort.flusher.InnerSortFlusher
combiner
-
-
-
-
Method Detail
-
output
public org.apache.hugegraph.computer.core.io.RandomAccessOutput output()
Description copied from interface:InnerSortFlusherFlush result to this output.- Specified by:
outputin interfaceInnerSortFlusher
-
flush
public void flush(java.util.Iterator<KvEntry> entries) throws java.io.IOException
Description copied from interface:InnerSortFlusherCombine the list of inputValues, and write the combined result length and results to output.- Specified by:
flushin interfaceInnerSortFlusher- Throws:
java.io.IOException
-
-