public class BinaryMergeIterator<Entry> extends Object implements org.apache.flink.util.MutableObjectIterator<Entry>
MergeIterator. Use RecordComparator to compare record.| Constructor and Description |
|---|
BinaryMergeIterator(List<org.apache.flink.util.MutableObjectIterator<Entry>> iterators,
List<Entry> reusableEntries,
Comparator<Entry> comparator) |
public BinaryMergeIterator(List<org.apache.flink.util.MutableObjectIterator<Entry>> iterators, List<Entry> reusableEntries, Comparator<Entry> comparator) throws IOException
IOExceptionpublic Entry next(Entry reuse) throws IOException
next in interface org.apache.flink.util.MutableObjectIterator<Entry>IOExceptionpublic Entry next() throws IOException
next in interface org.apache.flink.util.MutableObjectIterator<Entry>IOExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.