Class PartitionFileWriter.SegmentBufferContext
java.lang.Object
org.apache.flink.runtime.io.network.partition.hybrid.tiered.file.PartitionFileWriter.SegmentBufferContext
- Enclosing interface:
- PartitionFileWriter
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 Summary
ConstructorsConstructorDescriptionSegmentBufferContext(int segmentId, List<org.apache.flink.api.java.tuple.Tuple2<Buffer, Integer>> bufferAndIndexes, boolean segmentFinished) -
Method Summary
Modifier and TypeMethodDescriptionintboolean
-
Constructor Details
-
SegmentBufferContext
-
-
Method Details
-
getSegmentId
public int getSegmentId() -
getBufferAndIndexes
-
isSegmentFinished
public boolean isSegmentFinished()
-