Interface CommittableMessage<CommT>
-
- All Known Implementing Classes:
CommittableSummary,CommittableWithLineage
@Experimental public interface CommittableMessage<CommT>The message send fromSinkWritertoCommitter.
-
-
Field Summary
Fields Modifier and Type Field Description static longEOIDeprecated, for removal: This API element is subject to removal in a future version.the special value is not used anymore at all (remove with Flink 2.2)
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description longgetCheckpointId()default longgetCheckpointIdOrEOI()Deprecated, for removal: This API element is subject to removal in a future version.the special value EOI is not used anymoreintgetSubtaskId()The subtask that created this committable.
-
-
-
Field Detail
-
EOI
@Deprecated(forRemoval=true) static final long EOI
Deprecated, for removal: This API element is subject to removal in a future version.the special value is not used anymore at all (remove with Flink 2.2)Special value for checkpointId for the end of input in case of batch commit or final checkpoint.- See Also:
- Constant Field Values
-
-
Method Detail
-
getSubtaskId
int getSubtaskId()
The subtask that created this committable.
-
getCheckpointIdOrEOI
@Deprecated(forRemoval=true) default long getCheckpointIdOrEOI()
Deprecated, for removal: This API element is subject to removal in a future version.the special value EOI is not used anymoreReturns the checkpoint id or EOI if this message belong to the final checkpoint or the batch commit.
-
getCheckpointId
long getCheckpointId()
-
-