Class SortMergeResultPartition

java.lang.Object
org.apache.flink.runtime.io.network.partition.ResultPartition
org.apache.flink.runtime.io.network.partition.SortMergeResultPartition
All Implemented Interfaces:
AutoCloseable, AvailabilityProvider, ResultPartitionWriter

@NotThreadSafe public class SortMergeResultPartition extends ResultPartition
SortMergeResultPartition appends records and events to DataBuffer and after the DataBuffer is full, all data in the DataBuffer will be copied and spilled to a PartitionedFile in subpartition index order sequentially. Large records that can not be appended to an empty DataBuffer will be spilled to the result PartitionedFile separately.