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,
OperatorEventDispatcher operatorEventDispatcher) |
Modifier and Type | Method and Description |
---|---|
StreamTask<?,?> |
getContainingTask() |
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, OperatorEventDispatcher operatorEventDispatcher)
public StreamTask<?,?> getContainingTask()
public StreamConfig getStreamConfig()
public Output<StreamRecord<OUT>> getOutput()
public ProcessingTimeService getProcessingTimeService()
public OperatorEventDispatcher getOperatorEventDispatcher()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.