OUT - The output type of an operator that will be constructed using StreamOperatorParameters.@Experimental public class StreamOperatorParameters<OUT> extends Object
AbstractStreamOperatorV2. Wraps couple of internal parameters
to simplify for users construction of classes extending AbstractStreamOperatorV2 and to
allow for backward compatible changes in the AbstractStreamOperatorV2's constructor.| Constructor and Description |
|---|
StreamOperatorParameters(StreamTask<?,?> containingTask,
StreamConfig config,
Output<StreamRecord<OUT>> output,
java.util.function.Supplier<ProcessingTimeService> processingTimeServiceFactory,
org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher operatorEventDispatcher) |
| Modifier and Type | Method and Description |
|---|---|
StreamTask<?,?> |
getContainingTask() |
org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher |
getOperatorEventDispatcher() |
Output<StreamRecord<OUT>> |
getOutput() |
ProcessingTimeService |
getProcessingTimeService() |
StreamConfig |
getStreamConfig() |
public StreamOperatorParameters(StreamTask<?,?> containingTask, StreamConfig config, Output<StreamRecord<OUT>> output, java.util.function.Supplier<ProcessingTimeService> processingTimeServiceFactory, org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher operatorEventDispatcher)
public StreamTask<?,?> getContainingTask()
public StreamConfig getStreamConfig()
public Output<StreamRecord<OUT>> getOutput()
public ProcessingTimeService getProcessingTimeService()
public org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher getOperatorEventDispatcher()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.