Class StreamOperatorParameters<OUT>
- java.lang.Object
-
- org.apache.flink.streaming.api.operators.StreamOperatorParameters<OUT>
-
- Type Parameters:
OUT- The output type of an operator that will be constructed usingStreamOperatorParameters.
@Experimental public class StreamOperatorParameters<OUT> extends Object
Helper class to constructAbstractStreamOperatorV2. Wraps couple of internal parameters to simplify for users construction of classes extendingAbstractStreamOperatorV2and to allow for backward compatible changes in theAbstractStreamOperatorV2's constructor.
-
-
Constructor Summary
Constructors Constructor Description StreamOperatorParameters(StreamTask<?,?> containingTask, StreamConfig config, Output<StreamRecord<OUT>> output, Supplier<ProcessingTimeService> processingTimeServiceFactory, OperatorEventDispatcher operatorEventDispatcher, org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamTask<?,?>getContainingTask()org.apache.flink.api.common.operators.MailboxExecutorgetMailboxExecutor()OperatorEventDispatchergetOperatorEventDispatcher()Output<StreamRecord<OUT>>getOutput()ProcessingTimeServicegetProcessingTimeService()StreamConfiggetStreamConfig()
-
-
-
Constructor Detail
-
StreamOperatorParameters
public StreamOperatorParameters(StreamTask<?,?> containingTask, StreamConfig config, Output<StreamRecord<OUT>> output, Supplier<ProcessingTimeService> processingTimeServiceFactory, OperatorEventDispatcher operatorEventDispatcher, org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor)
-
-
Method Detail
-
getContainingTask
public StreamTask<?,?> getContainingTask()
-
getStreamConfig
public StreamConfig getStreamConfig()
-
getOutput
public Output<StreamRecord<OUT>> getOutput()
-
getProcessingTimeService
public ProcessingTimeService getProcessingTimeService()
-
getOperatorEventDispatcher
public OperatorEventDispatcher getOperatorEventDispatcher()
-
getMailboxExecutor
public org.apache.flink.api.common.operators.MailboxExecutor getMailboxExecutor()
-
-