Class TieredStorageSortBuffer

    • Constructor Detail

      • TieredStorageSortBuffer

        public TieredStorageSortBuffer​(LinkedList<org.apache.flink.core.memory.MemorySegment> freeSegments,
                                       BufferRecycler bufferRecycler,
                                       int numSubpartitions,
                                       int bufferSize,
                                       int numGuaranteedBuffers)
    • Method Detail

      • getNextBuffer

        public BufferWithChannel getNextBuffer​(@Nullable
                                               org.apache.flink.core.memory.MemorySegment transitBuffer)
        Description copied from interface: DataBuffer
        Copies data in this DataBuffer to the target MemorySegment in channel index order and returns BufferWithChannel which contains the copied data and the corresponding channel index.