IN - Type of the input to the partition@Internal public class BootstrapStreamTaskRunner<IN> extends org.apache.flink.streaming.api.operators.AbstractStreamOperator<TaggedOperatorSubtaskState> implements org.apache.flink.streaming.api.operators.OneInputStreamOperator<IN,TaggedOperatorSubtaskState>, org.apache.flink.streaming.api.operators.BoundedOneInput
BootstrapStreamTask.
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.
| 构造器和说明 |
|---|
BootstrapStreamTaskRunner(org.apache.flink.streaming.api.graph.StreamConfig streamConfig,
int maxParallelism)
Create a new
BootstrapStreamTaskRunner. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
endInput() |
void |
open() |
void |
processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<IN> element) |
close, finish, getChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getStateKeySelector1, getStateKeySelector2, getTimeServiceManager, getUserCodeClassloader, hasKeyContext1, hasKeyContext2, initializeState, initializeState, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processRecordAttributes, processRecordAttributes1, processRecordAttributes2, processWatermark, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setMailboxExecutor, setProcessingTimeService, setup, snapshotState, snapshotState, useSplittableTimersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, finish, getMetricGroup, getOperatorAttributes, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotStatenotifyCheckpointAborted, notifyCheckpointCompletepublic BootstrapStreamTaskRunner(org.apache.flink.streaming.api.graph.StreamConfig streamConfig,
int maxParallelism)
BootstrapStreamTaskRunner.streamConfig - The internal configuration for the task.maxParallelism - The max parallelism of the operator.public void open()
throws Exception
open 在接口中 org.apache.flink.streaming.api.operators.StreamOperator<TaggedOperatorSubtaskState>open 在类中 org.apache.flink.streaming.api.operators.AbstractStreamOperator<TaggedOperatorSubtaskState>Exceptionpublic void processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<IN> element) throws Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.