public class BinaryExternalMerger extends AbstractBinaryExternalMerger<org.apache.flink.table.data.binary.BinaryRowData>
ioManager, pageSize| 构造器和说明 |
|---|
BinaryExternalMerger(org.apache.flink.runtime.io.disk.iomanager.IOManager ioManager,
int pageSize,
int maxFanIn,
SpillChannelManager channelManager,
BinaryRowDataSerializer serializer,
RecordComparator comparator,
boolean compressionEnable,
org.apache.flink.runtime.io.compression.BlockCompressionFactory compressionCodecFactory,
int compressionBlockSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData> |
channelReaderInputViewIterator(org.apache.flink.runtime.io.disk.iomanager.AbstractChannelReaderInputView inView) |
protected Comparator<org.apache.flink.table.data.binary.BinaryRowData> |
mergeComparator() |
protected List<org.apache.flink.table.data.binary.BinaryRowData> |
mergeReusedEntries(int size) |
protected void |
writeMergingOutput(org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData> mergeIterator,
org.apache.flink.runtime.memory.AbstractPagedOutputView output)
read the merged stream and write the data back.
|
close, getMergingIterator, mergeChannelListpublic BinaryExternalMerger(org.apache.flink.runtime.io.disk.iomanager.IOManager ioManager,
int pageSize,
int maxFanIn,
SpillChannelManager channelManager,
BinaryRowDataSerializer serializer,
RecordComparator comparator,
boolean compressionEnable,
org.apache.flink.runtime.io.compression.BlockCompressionFactory compressionCodecFactory,
int compressionBlockSize)
protected org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData> channelReaderInputViewIterator(org.apache.flink.runtime.io.disk.iomanager.AbstractChannelReaderInputView inView)
channelReaderInputViewIterator 在类中 AbstractBinaryExternalMerger<org.apache.flink.table.data.binary.BinaryRowData>protected Comparator<org.apache.flink.table.data.binary.BinaryRowData> mergeComparator()
mergeComparator 在类中 AbstractBinaryExternalMerger<org.apache.flink.table.data.binary.BinaryRowData>protected List<org.apache.flink.table.data.binary.BinaryRowData> mergeReusedEntries(int size)
mergeReusedEntries 在类中 AbstractBinaryExternalMerger<org.apache.flink.table.data.binary.BinaryRowData>protected void writeMergingOutput(org.apache.flink.util.MutableObjectIterator<org.apache.flink.table.data.binary.BinaryRowData> mergeIterator,
org.apache.flink.runtime.memory.AbstractPagedOutputView output)
throws IOException
AbstractBinaryExternalMergerwriteMergingOutput 在类中 AbstractBinaryExternalMerger<org.apache.flink.table.data.binary.BinaryRowData>IOExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.