Class CommitterOperatorFactory<CommT>
java.lang.Object
org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory<CommittableMessage<CommT>>
org.apache.flink.streaming.runtime.operators.sink.CommitterOperatorFactory<CommT>
- Type Parameters:
CommT- the type of the committable
- All Implemented Interfaces:
Serializable,OneInputStreamOperatorFactory<CommittableMessage<CommT>,,CommittableMessage<CommT>> StreamOperatorFactory<CommittableMessage<CommT>>,ProcessingTimeServiceAware
@Internal
public final class CommitterOperatorFactory<CommT>
extends AbstractStreamOperatorFactory<CommittableMessage<CommT>>
implements OneInputStreamOperatorFactory<CommittableMessage<CommT>,CommittableMessage<CommT>>
A
StreamOperatorFactory for CommitterOperator.- See Also:
-
Field Summary
Fields inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory
chainingStrategy, processingTimeService -
Constructor Summary
ConstructorsConstructorDescriptionCommitterOperatorFactory(org.apache.flink.api.connector.sink2.SupportsCommitter<CommT> sink, boolean isBatchMode, boolean isCheckpointingEnabled) -
Method Summary
Modifier and TypeMethodDescription<T extends StreamOperator<CommittableMessage<CommT>>>
TcreateStreamOperator(StreamOperatorParameters<CommittableMessage<CommT>> parameters) Create the operator.Class<? extends StreamOperator>getStreamOperatorClass(ClassLoader classLoader) Returns the runtime class of the stream operator.Methods inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory
getChainingStrategy, getMailboxExecutor, setChainingStrategy, setMailboxExecutor, setProcessingTimeServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.streaming.api.operators.StreamOperatorFactory
getChainingStrategy, getOperatorAttributes, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setChainingStrategy, setInputType, setOutputType
-
Constructor Details
-
CommitterOperatorFactory
public CommitterOperatorFactory(org.apache.flink.api.connector.sink2.SupportsCommitter<CommT> sink, boolean isBatchMode, boolean isCheckpointingEnabled)
-
-
Method Details
-
createStreamOperator
public <T extends StreamOperator<CommittableMessage<CommT>>> T createStreamOperator(StreamOperatorParameters<CommittableMessage<CommT>> parameters) Description copied from interface:StreamOperatorFactoryCreate the operator. Sets access to the context and the output.- Specified by:
createStreamOperatorin interfaceStreamOperatorFactory<CommT>
-
getStreamOperatorClass
Description copied from interface:StreamOperatorFactoryReturns the runtime class of the stream operator.- Specified by:
getStreamOperatorClassin interfaceStreamOperatorFactory<CommT>
-