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 extendingAbstractStreamOperatorV2
and 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, MailboxExecutor mailboxExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamTask<?,?>
getContainingTask()
MailboxExecutor
getMailboxExecutor()
OperatorEventDispatcher
getOperatorEventDispatcher()
Output<StreamRecord<OUT>>
getOutput()
ProcessingTimeService
getProcessingTimeService()
StreamConfig
getStreamConfig()
-
-
-
Constructor Detail
-
StreamOperatorParameters
public StreamOperatorParameters(StreamTask<?,?> containingTask, StreamConfig config, Output<StreamRecord<OUT>> output, Supplier<ProcessingTimeService> processingTimeServiceFactory, OperatorEventDispatcher operatorEventDispatcher, 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 MailboxExecutor getMailboxExecutor()
-
-