Class CombineKvOuterSortFlusher
- java.lang.Object
-
- org.apache.hugegraph.computer.core.sort.flusher.CombinableSorterFlusher
-
- org.apache.hugegraph.computer.core.sort.flusher.CombineKvOuterSortFlusher
-
- All Implemented Interfaces:
OuterSortFlusher
public class CombineKvOuterSortFlusher extends CombinableSorterFlusher implements OuterSortFlusher
-
-
Constructor Summary
Constructors Constructor Description CombineKvOuterSortFlusher(PointerCombiner combiner)
-
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.protected voidwriteKvEntry(KvEntry entry)-
Methods inherited from class org.apache.hugegraph.computer.core.sort.flusher.CombinableSorterFlusher
flush
-
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
-
-
-
-
Constructor Detail
-
CombineKvOuterSortFlusher
public CombineKvOuterSortFlusher(PointerCombiner combiner)
-
-
Method Detail
-
writeKvEntry
protected void writeKvEntry(KvEntry entry) throws java.io.IOException
- Specified by:
writeKvEntryin classCombinableSorterFlusher- Throws:
java.io.IOException
-
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
-
-