public class ProcessOperator<IN,OUT>
extends org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator<OUT,org.apache.flink.datastream.api.function.OneInputStreamProcessFunction<IN,OUT>>
implements org.apache.flink.streaming.api.operators.OneInputStreamOperator<IN,OUT>, org.apache.flink.streaming.api.operators.BoundedOneInput
OneInputStreamProcessFunction.| Modifier and Type | Field and Description |
|---|---|
protected DefaultRuntimeContext |
context |
protected org.apache.flink.datastream.api.context.NonPartitionedContext<OUT> |
nonPartitionedContext |
protected TimestampCollector<OUT> |
outputCollector |
protected DefaultPartitionedContext |
partitionedContext |
| Constructor and Description |
|---|
ProcessOperator(org.apache.flink.datastream.api.function.OneInputStreamProcessFunction<IN,OUT> userFunction) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
currentKey() |
void |
endInput() |
protected org.apache.flink.datastream.api.context.NonPartitionedContext<OUT> |
getNonPartitionedContext() |
protected TimestampCollector<OUT> |
getOutputCollector() |
protected org.apache.flink.datastream.api.context.ProcessingTimeManager |
getProcessingTimeManager() |
void |
open() |
void |
processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<IN> element) |
close, finish, getUserFunction, getUserFunctionParameters, initializeState, notifyCheckpointAborted, notifyCheckpointComplete, setOutputType, setup, snapshotStategetChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getStateKeySelector1, getStateKeySelector2, getTimeServiceManager, getUserCodeClassloader, hasKeyContext1, hasKeyContext2, initializeState, isUsingCustomRawKeyedState, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processRecordAttributes, processRecordAttributes1, processRecordAttributes2, processWatermark, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setMailboxExecutor, setProcessingTimeService, snapshotState, useSplittableTimersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetKeyContextElementclose, finish, getMetricGroup, getOperatorAttributes, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotStatenotifyCheckpointAborted, notifyCheckpointCompletegetCurrentKey, setCurrentKeyprotected transient DefaultRuntimeContext context
protected transient DefaultPartitionedContext partitionedContext
protected transient org.apache.flink.datastream.api.context.NonPartitionedContext<OUT> nonPartitionedContext
protected transient TimestampCollector<OUT> outputCollector
public void open()
throws Exception
public void processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<IN> element) throws Exception
protected TimestampCollector<OUT> getOutputCollector()
public void endInput()
throws Exception
endInput in interface org.apache.flink.streaming.api.operators.BoundedOneInputExceptionprotected Object currentKey()
protected org.apache.flink.datastream.api.context.ProcessingTimeManager getProcessingTimeManager()
protected org.apache.flink.datastream.api.context.NonPartitionedContext<OUT> getNonPartitionedContext()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.