IN - Type of the input to the partition@Deprecated @Internal public class BoundedOneInputStreamTaskRunner<IN> extends org.apache.flink.api.common.functions.RichMapPartitionFunction<IN,TaggedOperatorSubtaskState>
RichMapPartitionFunction that serves as the runtime for a BoundedStreamTask.
The task is executed processing the data in a particular partition instead of the pulling from
the network stack. After all data has been processed the runner will output the OperatorSubtaskState from the snapshot of the bounded task.
| 构造器和说明 |
|---|
BoundedOneInputStreamTaskRunner(org.apache.flink.streaming.api.graph.StreamConfig streamConfig,
int maxParallelism,
Timestamper<IN> timestamper)
已过时。
Create a new
BoundedOneInputStreamTaskRunner. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
mapPartition(Iterable<IN> values,
org.apache.flink.util.Collector<TaggedOperatorSubtaskState> out)
已过时。
|
void |
open(org.apache.flink.api.common.functions.OpenContext openContext)
已过时。
|
public BoundedOneInputStreamTaskRunner(org.apache.flink.streaming.api.graph.StreamConfig streamConfig,
int maxParallelism,
Timestamper<IN> timestamper)
BoundedOneInputStreamTaskRunner.streamConfig - The internal configuration for the task.maxParallelism - The max parallelism of the operator.public void open(org.apache.flink.api.common.functions.OpenContext openContext)
throws Exception
Exceptionpublic void mapPartition(Iterable<IN> values, org.apache.flink.util.Collector<TaggedOperatorSubtaskState> out) throws Exception
mapPartition 在接口中 org.apache.flink.api.common.functions.MapPartitionFunction<IN,TaggedOperatorSubtaskState>mapPartition 在类中 org.apache.flink.api.common.functions.RichMapPartitionFunction<IN,TaggedOperatorSubtaskState>ExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.