@Experimental public class CommittableWithLineage<CommT> extends Object implements CommittableMessage<CommT>
TwoPhaseCommittingSink.PrecommittingSinkWriter and Committer.| 构造器和说明 |
|---|
CommittableWithLineage(CommT committable,
Long checkpointId,
int subtaskId) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public CommT getCommittable()
public int getSubtaskId()
CommittableMessagegetSubtaskId 在接口中 CommittableMessage<CommT>public OptionalLong getCheckpointId()
CommittableMessagegetCheckpointId 在接口中 CommittableMessage<CommT>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.