Class CustomSinkOperatorUidHashes.SinkOperatorUidHashesBuilder
- java.lang.Object
-
- org.apache.flink.streaming.api.datastream.CustomSinkOperatorUidHashes.SinkOperatorUidHashesBuilder
-
- Enclosing class:
- CustomSinkOperatorUidHashes
@PublicEvolving public static class CustomSinkOperatorUidHashes.SinkOperatorUidHashesBuilder extends Object
Builder to constructCustomSinkOperatorUidHashes
.
-
-
Constructor Summary
Constructors Constructor Description SinkOperatorUidHashesBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomSinkOperatorUidHashes
build()
Constructs theCustomSinkOperatorUidHashes
with the given uid hashes.CustomSinkOperatorUidHashes.SinkOperatorUidHashesBuilder
setCommitterUidHash(String committerUidHash)
Sets the uid hash of the committer operator used to recover state.CustomSinkOperatorUidHashes.SinkOperatorUidHashesBuilder
setGlobalCommitterUidHash(String globalCommitterUidHash)
Sets the uid hash of the global committer operator used to recover state.CustomSinkOperatorUidHashes.SinkOperatorUidHashesBuilder
setWriterUidHash(String writerUidHash)
Sets the uid hash of the writer operator used to recover state.
-
-
-
Method Detail
-
setWriterUidHash
public CustomSinkOperatorUidHashes.SinkOperatorUidHashesBuilder setWriterUidHash(String writerUidHash)
Sets the uid hash of the writer operator used to recover state.- Parameters:
writerUidHash
- uid hash denoting writer operator- Returns:
CustomSinkOperatorUidHashes.SinkOperatorUidHashesBuilder
-
setCommitterUidHash
public CustomSinkOperatorUidHashes.SinkOperatorUidHashesBuilder setCommitterUidHash(String committerUidHash)
Sets the uid hash of the committer operator used to recover state.- Parameters:
committerUidHash
- uid hash denoting the committer operator- Returns:
CustomSinkOperatorUidHashes.SinkOperatorUidHashesBuilder
-
setGlobalCommitterUidHash
public CustomSinkOperatorUidHashes.SinkOperatorUidHashesBuilder setGlobalCommitterUidHash(String globalCommitterUidHash)
Sets the uid hash of the global committer operator used to recover state.- Parameters:
globalCommitterUidHash
- uid hash denoting the global committer operator- Returns:
CustomSinkOperatorUidHashes.SinkOperatorUidHashesBuilder
-
build
public CustomSinkOperatorUidHashes build()
Constructs theCustomSinkOperatorUidHashes
with the given uid hashes.- Returns:
CustomSinkOperatorUidHashes
-
-