Class AbstractStreamOperatorFactory<OUT>
java.lang.Object
org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory<OUT>
- All Implemented Interfaces:
Serializable,StreamOperatorFactory<OUT>,ProcessingTimeServiceAware
- Direct Known Subclasses:
CommitterOperatorFactory,ContinuousFileReaderOperatorFactory,SimpleOperatorFactory,SinkWriterOperatorFactory,SourceOperatorFactory,TimestampsAndWatermarksOperatorFactory,WindowOperatorFactory
@Experimental
public abstract class AbstractStreamOperatorFactory<OUT>
extends Object
implements StreamOperatorFactory<OUT>, ProcessingTimeServiceAware
Base class for all stream operator factories. It implements some common methods and the
ProcessingTimeServiceAware interface which enables stream operators to access ProcessingTimeService.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the chaining strategy of operator factory.protected org.apache.flink.api.common.operators.MailboxExecutorProvides the mailbox executor iff this factory implementsYieldingOperatorFactory.voidsetChainingStrategy(ChainingStrategy strategy) Set the chaining strategy for operator factory.voidsetMailboxExecutor(org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor) voidsetProcessingTimeService(ProcessingTimeService processingTimeService) Methods 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
createStreamOperator, getOperatorAttributes, getStreamOperatorClass, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setInputType, setOutputType
-
Field Details
-
chainingStrategy
-
processingTimeService
-
-
Constructor Details
-
AbstractStreamOperatorFactory
public AbstractStreamOperatorFactory()
-
-
Method Details
-
setChainingStrategy
Description copied from interface:StreamOperatorFactorySet the chaining strategy for operator factory.- Specified by:
setChainingStrategyin interfaceStreamOperatorFactory<OUT>
-
getChainingStrategy
Description copied from interface:StreamOperatorFactoryGet the chaining strategy of operator factory.- Specified by:
getChainingStrategyin interfaceStreamOperatorFactory<OUT>
-
setProcessingTimeService
- Specified by:
setProcessingTimeServicein interfaceProcessingTimeServiceAware
-
setMailboxExecutor
public void setMailboxExecutor(org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor) -
getMailboxExecutor
protected org.apache.flink.api.common.operators.MailboxExecutor getMailboxExecutor()Provides the mailbox executor iff this factory implementsYieldingOperatorFactory.
-