Class CopyingBroadcastingOutput
java.lang.Object
org.apache.flink.table.runtime.operators.multipleinput.output.BroadcastingOutput
org.apache.flink.table.runtime.operators.multipleinput.output.CopyingBroadcastingOutput
- All Implemented Interfaces:
org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>,org.apache.flink.util.Collector<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>
Special version of
BroadcastingOutput that performs a shallow copy of the StreamRecord to ensure that multi-output works correctly.
The functionality of this class is similar to OperatorChain#CopyingBroadcastingOutputCollector.
-
Field Summary
Fields inherited from class org.apache.flink.table.runtime.operators.multipleinput.output.BroadcastingOutput
outputs -
Constructor Summary
ConstructorsConstructorDescriptionCopyingBroadcastingOutput(org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>[] outputs) -
Method Summary
Methods inherited from class org.apache.flink.table.runtime.operators.multipleinput.output.BroadcastingOutput
close, emitLatencyMarker, emitRecordAttributes, emitWatermark, emitWatermark, emitWatermarkStatus
-
Constructor Details
-
CopyingBroadcastingOutput
public CopyingBroadcastingOutput(org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>[] outputs)
-
-
Method Details
-
collect
public void collect(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData> record) - Specified by:
collectin interfaceorg.apache.flink.util.Collector<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>- Overrides:
collectin classBroadcastingOutput
-
collect
public <X> void collect(org.apache.flink.util.OutputTag<X> outputTag, org.apache.flink.streaming.runtime.streamrecord.StreamRecord<X> record) - Specified by:
collectin interfaceorg.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>- Overrides:
collectin classBroadcastingOutput
-