public class KeyedTwoInputBroadcastProcessOperator<KEY,IN1,IN2,OUT> extends TwoInputBroadcastProcessOperator<IN1,IN2,OUT> implements org.apache.flink.streaming.api.operators.Triggerable<KEY,org.apache.flink.runtime.state.VoidNamespace>
TwoInputBroadcastStreamProcessFunction in KeyedPartitionStream.collector, context, nonPartitionedContext, partitionedContext| Constructor and Description |
|---|
KeyedTwoInputBroadcastProcessOperator(org.apache.flink.datastream.api.function.TwoInputBroadcastStreamProcessFunction<IN1,IN2,OUT> userFunction) |
KeyedTwoInputBroadcastProcessOperator(org.apache.flink.datastream.api.function.TwoInputBroadcastStreamProcessFunction<IN1,IN2,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, processElement1, processElement2close, 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, waitprocessLatencyMarker1, processLatencyMarker2, processRecordAttributes1, processRecordAttributes2, processWatermark1, processWatermark2, processWatermarkStatus1, processWatermarkStatus2close, finish, getMetricGroup, getOperatorAttributes, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement2, snapshotStatenotifyCheckpointAborted, notifyCheckpointCompletepublic KeyedTwoInputBroadcastProcessOperator(org.apache.flink.datastream.api.function.TwoInputBroadcastStreamProcessFunction<IN1,IN2,OUT> userFunction)
public void open()
throws Exception
protected TimestampCollector<OUT> getOutputCollector()
getOutputCollector in class TwoInputBroadcastProcessOperator<IN1,IN2,OUT>protected Object currentKey()
currentKey in class TwoInputBroadcastProcessOperator<IN1,IN2,OUT>protected org.apache.flink.datastream.api.context.ProcessingTimeManager getProcessingTimeManager()
getProcessingTimeManager in class TwoInputBroadcastProcessOperator<IN1,IN2,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.NonPartitionedContext<OUT> getNonPartitionedContext()
getNonPartitionedContext in class TwoInputBroadcastProcessOperator<IN1,IN2,OUT>public void setKeyContextElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord record)
throws Exception
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.