@Experimental public class CommittableWithLineage<CommT> extends Object implements CommittableMessage<CommT>
CommittingSinkWriter and Committer.| Constructor and Description |
|---|
CommittableWithLineage(CommT committable,
Long checkpointId,
int subtaskId) |
| Modifier and Type | Method and Description |
|---|---|
OptionalLong |
getCheckpointId()
Returns the checkpoint id or empty if the message does not belong to a checkpoint.
|
CommT |
getCommittable() |
int |
getSubtaskId()
The subtask that created this committable.
|
<NewCommT> CommittableWithLineage<NewCommT> |
map(java.util.function.Function<CommT,NewCommT> mapper) |
public CommT getCommittable()
public int getSubtaskId()
CommittableMessagegetSubtaskId in interface CommittableMessage<CommT>public OptionalLong getCheckpointId()
CommittableMessagegetCheckpointId in interface CommittableMessage<CommT>public <NewCommT> CommittableWithLineage<NewCommT> map(java.util.function.Function<CommT,NewCommT> mapper)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.