Class PartitionFileWriter.SegmentBufferContext

java.lang.Object
org.apache.flink.runtime.io.network.partition.hybrid.tiered.file.PartitionFileWriter.SegmentBufferContext
Enclosing interface:
PartitionFileWriter

public static class PartitionFileWriter.SegmentBufferContext extends Object
The PartitionFileWriter.SegmentBufferContext contains all the buffers belonging to the segment. Note that when this indicates whether the segment is finished, the field bufferWithIndexes should be empty.
  • Constructor Details

    • SegmentBufferContext

      public SegmentBufferContext(int segmentId, List<org.apache.flink.api.java.tuple.Tuple2<Buffer,Integer>> bufferAndIndexes, boolean segmentFinished)
  • Method Details

    • getSegmentId

      public int getSegmentId()
    • getBufferAndIndexes

      public List<org.apache.flink.api.java.tuple.Tuple2<Buffer,Integer>> getBufferAndIndexes()
    • isSegmentFinished

      public boolean isSegmentFinished()