Package | Description |
---|---|
org.apache.flink.runtime.operators.sort |
Modifier and Type | Method and Description |
---|---|
protected UnilateralSortMerger.ChannelWithBlockCount |
CombiningUnilateralSortMerger.CombiningSpillingThread.mergeChannels(List<UnilateralSortMerger.ChannelWithBlockCount> channelIDs,
List<List<MemorySegment>> readBuffers,
List<MemorySegment> writeBuffers)
Merges the sorted runs described by the given Channel IDs into a single sorted run.
|
protected UnilateralSortMerger.ChannelWithBlockCount |
UnilateralSortMerger.SpillingThread.mergeChannels(List<UnilateralSortMerger.ChannelWithBlockCount> channelIDs,
List<List<MemorySegment>> readBuffers,
List<MemorySegment> writeBuffers)
Merges the sorted runs described by the given Channel IDs into a single sorted run.
|
Modifier and Type | Method and Description |
---|---|
protected List<UnilateralSortMerger.ChannelWithBlockCount> |
UnilateralSortMerger.SpillingThread.mergeChannelList(List<UnilateralSortMerger.ChannelWithBlockCount> channelIDs,
List<MemorySegment> allReadBuffers,
List<MemorySegment> writeBuffers)
Merges the given sorted runs to a smaller number of sorted runs.
|
Modifier and Type | Method and Description |
---|---|
protected MergeIterator<E> |
UnilateralSortMerger.SpillingThread.getMergingIterator(List<UnilateralSortMerger.ChannelWithBlockCount> channelIDs,
List<List<MemorySegment>> inputSegments,
List<FileIOChannel> readerList,
MutableObjectIterator<E> largeRecords)
Returns an iterator that iterates over the merged result from all given channels.
|
protected List<UnilateralSortMerger.ChannelWithBlockCount> |
UnilateralSortMerger.SpillingThread.mergeChannelList(List<UnilateralSortMerger.ChannelWithBlockCount> channelIDs,
List<MemorySegment> allReadBuffers,
List<MemorySegment> writeBuffers)
Merges the given sorted runs to a smaller number of sorted runs.
|
protected UnilateralSortMerger.ChannelWithBlockCount |
CombiningUnilateralSortMerger.CombiningSpillingThread.mergeChannels(List<UnilateralSortMerger.ChannelWithBlockCount> channelIDs,
List<List<MemorySegment>> readBuffers,
List<MemorySegment> writeBuffers)
Merges the sorted runs described by the given Channel IDs into a single sorted run.
|
protected UnilateralSortMerger.ChannelWithBlockCount |
UnilateralSortMerger.SpillingThread.mergeChannels(List<UnilateralSortMerger.ChannelWithBlockCount> channelIDs,
List<List<MemorySegment>> readBuffers,
List<MemorySegment> writeBuffers)
Merges the sorted runs described by the given Channel IDs into a single sorted run.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.