InputT - The input type of the SinkWriter.CommT - The committable type of the SinkWriter.WriterStateT - The type of the Writer's state.public final class StatefulSinkWriterOperatorFactory<InputT,CommT,WriterStateT> extends AbstractStreamOperatorFactory<CommT>
StreamOperatorFactory for StatefulSinkWriterOperator.chainingStrategy, processingTimeService| Constructor and Description |
|---|
StatefulSinkWriterOperatorFactory(org.apache.flink.api.connector.sink.Sink<InputT,CommT,WriterStateT,?> sink) |
StatefulSinkWriterOperatorFactory(org.apache.flink.api.connector.sink.Sink<InputT,CommT,WriterStateT,?> sink,
String previousSinkStateName) |
| Modifier and Type | Method and Description |
|---|---|
<T extends StreamOperator<CommT>> |
createStreamOperator(StreamOperatorParameters<CommT> parameters)
Create the operator.
|
Class<? extends StreamOperator> |
getStreamOperatorClass(ClassLoader classLoader)
Returns the runtime class of the stream operator.
|
getChainingStrategy, setChainingStrategy, setProcessingTimeServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChainingStrategy, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setChainingStrategy, setInputType, setOutputTypepublic StatefulSinkWriterOperatorFactory(org.apache.flink.api.connector.sink.Sink<InputT,CommT,WriterStateT,?> sink)
public StatefulSinkWriterOperatorFactory(org.apache.flink.api.connector.sink.Sink<InputT,CommT,WriterStateT,?> sink, @Nullable String previousSinkStateName)
public Class<? extends StreamOperator> getStreamOperatorClass(ClassLoader classLoader)
StreamOperatorFactorypublic <T extends StreamOperator<CommT>> T createStreamOperator(StreamOperatorParameters<CommT> parameters)
StreamOperatorFactorycreateStreamOperator in interface StreamOperatorFactory<CommT>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.