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
ThePartitionFileWriter.SegmentBufferContextcontains all the buffers belonging to the segment. Note that when this indicates whether the segment is finished, the fieldbufferWithIndexesshould be empty.
-
-
Constructor Summary
Constructors Constructor Description SegmentBufferContext(int segmentId, List<org.apache.flink.api.java.tuple.Tuple2<Buffer,Integer>> bufferAndIndexes, boolean segmentFinished)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.apache.flink.api.java.tuple.Tuple2<Buffer,Integer>>getBufferAndIndexes()intgetSegmentId()booleanisSegmentFinished()
-