Sink
, SupportsCommitter
and SupportsPreCommitTopology
instead.@Experimental @Deprecated public interface WithPreCommitTopology<InputT,CommT> extends TwoPhaseCommittingSink<InputT,CommT>, SupportsPreCommitTopology<CommT,CommT>
SinkWriter
and before Committer
.
It is recommended to use immutable committables because mutating committables can have unexpected side-effects.
TwoPhaseCommittingSink.PrecommittingSinkWriter<InputT,CommT>
Sink.InitContext, Sink.InitContextWrapper
Modifier and Type | Method and Description |
---|---|
default SimpleVersionedSerializer<CommT> |
getWriteResultSerializer()
Deprecated.
Defaults to
SupportsCommitter.getCommittableSerializer() for backward compatibility. |
createCommitter, createCommitter
createWriter, createWriter
getCommittableSerializer
addPreCommitTopology
default SimpleVersionedSerializer<CommT> getWriteResultSerializer()
SupportsCommitter.getCommittableSerializer()
for backward compatibility.getWriteResultSerializer
in interface SupportsPreCommitTopology<CommT,CommT>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.