public class TwoInputBroadcastProcessOperator<IN1,IN2,OUT>
extends org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator<OUT,org.apache.flink.datastream.api.function.TwoInputBroadcastStreamProcessFunction<IN1,IN2,OUT>>
implements org.apache.flink.streaming.api.operators.TwoInputStreamOperator<IN1,IN2,OUT>, org.apache.flink.streaming.api.operators.BoundedMultiInput
TwoInputBroadcastStreamProcessFunction.| Modifier and Type | Field and Description |
|---|---|
protected TimestampCollector<OUT> |
collector |
protected DefaultRuntimeContext |
context |
protected org.apache.flink.datastream.api.context.NonPartitionedContext<OUT> |
nonPartitionedContext |
protected DefaultPartitionedContext |
partitionedContext |
| Constructor and Description |
|---|
TwoInputBroadcastProcessOperator(org.apache.flink.datastream.api.function.TwoInputBroadcastStreamProcessFunction<IN1,IN2,OUT> userFunction) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
currentKey() |
void |
endInput(int inputId) |
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 |
processElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<IN1> element) |
void |
processElement2(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<IN2> 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, waitprocessLatencyMarker1, processLatencyMarker2, processRecordAttributes1, processRecordAttributes2, processWatermark1, processWatermark2, processWatermarkStatus1, processWatermarkStatus2close, finish, getMetricGroup, getOperatorAttributes, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotStatenotifyCheckpointAborted, notifyCheckpointCompleteprotected transient TimestampCollector<OUT> collector
protected transient DefaultRuntimeContext context
protected transient DefaultPartitionedContext partitionedContext
protected transient org.apache.flink.datastream.api.context.NonPartitionedContext<OUT> nonPartitionedContext
public void open()
throws Exception
open in interface org.apache.flink.streaming.api.operators.StreamOperator<OUT>open in class org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator<OUT,org.apache.flink.datastream.api.function.TwoInputBroadcastStreamProcessFunction<IN1,IN2,OUT>>Exceptionpublic void processElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<IN1> element) throws Exception
public void processElement2(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<IN2> element) throws Exception
protected TimestampCollector<OUT> getOutputCollector()
protected org.apache.flink.datastream.api.context.NonPartitionedContext<OUT> getNonPartitionedContext()
public void endInput(int inputId)
throws Exception
endInput in interface org.apache.flink.streaming.api.operators.BoundedMultiInputExceptionprotected Object currentKey()
protected org.apache.flink.datastream.api.context.ProcessingTimeManager getProcessingTimeManager()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.