public class KeyedProcessOperator<KEY,IN,OUT> extends ProcessOperator<IN,OUT> implements org.apache.flink.streaming.api.operators.Triggerable<KEY,org.apache.flink.runtime.state.VoidNamespace>
OneInputStreamProcessFunction in KeyedPartitionStream.context, nonPartitionedContext, outputCollector, partitionedContext| Constructor and Description |
|---|
KeyedProcessOperator(org.apache.flink.datastream.api.function.OneInputStreamProcessFunction<IN,OUT> userFunction) |
KeyedProcessOperator(org.apache.flink.datastream.api.function.OneInputStreamProcessFunction<IN,OUT> userFunction,
org.apache.flink.api.java.functions.KeySelector<OUT,KEY> outKeySelector) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
currentKey() |
protected org.apache.flink.datastream.api.context.NonPartitionedContext<OUT> |
getNonPartitionedContext() |
protected TimestampCollector<OUT> |
getOutputCollector() |
protected org.apache.flink.datastream.api.context.ProcessingTimeManager |
getProcessingTimeManager() |
void |
onEventTime(org.apache.flink.streaming.api.operators.InternalTimer<KEY,org.apache.flink.runtime.state.VoidNamespace> timer) |
void |
onProcessingTime(org.apache.flink.streaming.api.operators.InternalTimer<KEY,org.apache.flink.runtime.state.VoidNamespace> timer) |
void |
open() |
void |
setKeyContextElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord record) |
endInput, processElementclose, 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, setKeyContextElement2, setMailboxExecutor, setProcessingTimeService, snapshotState, useSplittableTimersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetKeyContextElementclose, finish, getMetricGroup, getOperatorAttributes, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement2, snapshotStatenotifyCheckpointAborted, notifyCheckpointCompletegetCurrentKey, setCurrentKeypublic KeyedProcessOperator(org.apache.flink.datastream.api.function.OneInputStreamProcessFunction<IN,OUT> userFunction)
public void open()
throws Exception
protected TimestampCollector<OUT> getOutputCollector()
getOutputCollector in class ProcessOperator<IN,OUT>protected Object currentKey()
currentKey in class ProcessOperator<IN,OUT>public void onEventTime(org.apache.flink.streaming.api.operators.InternalTimer<KEY,org.apache.flink.runtime.state.VoidNamespace> timer) throws Exception
public void onProcessingTime(org.apache.flink.streaming.api.operators.InternalTimer<KEY,org.apache.flink.runtime.state.VoidNamespace> timer) throws Exception
protected org.apache.flink.datastream.api.context.ProcessingTimeManager getProcessingTimeManager()
getProcessingTimeManager in class ProcessOperator<IN,OUT>protected org.apache.flink.datastream.api.context.NonPartitionedContext<OUT> getNonPartitionedContext()
getNonPartitionedContext in class ProcessOperator<IN,OUT>public void setKeyContextElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord record)
throws Exception
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.