Class KvOuterSortFlusher
- java.lang.Object
-
- org.apache.hugegraph.computer.core.sort.flusher.KvOuterSortFlusher
-
- All Implemented Interfaces:
OuterSortFlusher
public class KvOuterSortFlusher extends java.lang.Object implements OuterSortFlusher
-
-
Constructor Summary
Constructors Constructor Description KvOuterSortFlusher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush(EntryIterator entries, KvEntryFileWriter writer)Combine the list of inputValues, and write the inputKey and combined result length and results to HgkvDirWriter.-
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.OuterSortFlusher
combiner, sources
-
-
-
-
Method Detail
-
flush
public void flush(EntryIterator entries, KvEntryFileWriter writer) throws java.io.IOException
Description copied from interface:OuterSortFlusherCombine the list of inputValues, and write the inputKey and combined result length and results to HgkvDirWriter. The caller maybe needs to call the sources method before call this method.- Specified by:
flushin interfaceOuterSortFlusher- Throws:
java.io.IOException
-
-