public class KeyedTwoOutputProcessOperator<KEY,IN,OUT_MAIN,OUT_SIDE> extends TwoOutputProcessOperator<IN,OUT_MAIN,OUT_SIDE> implements org.apache.flink.streaming.api.operators.Triggerable<KEY,org.apache.flink.runtime.state.VoidNamespace>
TwoOutputProcessOperator.SideOutputCollectorcontext, mainCollector, nonPartitionedContext, outputTag, partitionedContext, sideCollector| Constructor and Description |
|---|
KeyedTwoOutputProcessOperator(org.apache.flink.datastream.api.function.TwoOutputStreamProcessFunction<IN,OUT_MAIN,OUT_SIDE> userFunction,
org.apache.flink.util.OutputTag<OUT_SIDE> outputTag) |
KeyedTwoOutputProcessOperator(org.apache.flink.datastream.api.function.TwoOutputStreamProcessFunction<IN,OUT_MAIN,OUT_SIDE> userFunction,
org.apache.flink.util.OutputTag<OUT_SIDE> outputTag,
org.apache.flink.api.java.functions.KeySelector<OUT_MAIN,KEY> mainOutKeySelector,
org.apache.flink.api.java.functions.KeySelector<OUT_SIDE,KEY> sideOutKeySelector) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
currentKey() |
protected TimestampCollector<OUT_MAIN> |
getMainCollector() |
protected org.apache.flink.datastream.api.context.TwoOutputNonPartitionedContext<OUT_MAIN,OUT_SIDE> |
getNonPartitionedContext() |
protected org.apache.flink.datastream.api.context.ProcessingTimeManager |
getProcessingTimeManager() |
TimestampCollector<OUT_SIDE> |
getSideCollector() |
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 KeyedTwoOutputProcessOperator(org.apache.flink.datastream.api.function.TwoOutputStreamProcessFunction<IN,OUT_MAIN,OUT_SIDE> userFunction, org.apache.flink.util.OutputTag<OUT_SIDE> outputTag)
public KeyedTwoOutputProcessOperator(org.apache.flink.datastream.api.function.TwoOutputStreamProcessFunction<IN,OUT_MAIN,OUT_SIDE> userFunction, org.apache.flink.util.OutputTag<OUT_SIDE> outputTag, @Nullable org.apache.flink.api.java.functions.KeySelector<OUT_MAIN,KEY> mainOutKeySelector, @Nullable org.apache.flink.api.java.functions.KeySelector<OUT_SIDE,KEY> sideOutKeySelector)
public void open()
throws Exception
protected TimestampCollector<OUT_MAIN> getMainCollector()
getMainCollector in class TwoOutputProcessOperator<IN,OUT_MAIN,OUT_SIDE>public TimestampCollector<OUT_SIDE> getSideCollector()
getSideCollector in class TwoOutputProcessOperator<IN,OUT_MAIN,OUT_SIDE>protected Object currentKey()
currentKey in class TwoOutputProcessOperator<IN,OUT_MAIN,OUT_SIDE>protected org.apache.flink.datastream.api.context.ProcessingTimeManager getProcessingTimeManager()
getProcessingTimeManager in class TwoOutputProcessOperator<IN,OUT_MAIN,OUT_SIDE>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.TwoOutputNonPartitionedContext<OUT_MAIN,OUT_SIDE> getNonPartitionedContext()
getNonPartitionedContext in class TwoOutputProcessOperator<IN,OUT_MAIN,OUT_SIDE>public void setKeyContextElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord record)
throws Exception
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.