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>>
public class CopyingBroadcastingOutput extends BroadcastingOutput
Special version ofBroadcastingOutputthat performs a shallow copy of theStreamRecordto 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
Constructors Constructor Description CopyingBroadcastingOutput(org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>[] outputs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollect(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData> record)<X> voidcollect(org.apache.flink.util.OutputTag<X> outputTag, org.apache.flink.streaming.runtime.streamrecord.StreamRecord<X> record)-
Methods inherited from class org.apache.flink.table.runtime.operators.multipleinput.output.BroadcastingOutput
close, emitLatencyMarker, emitRecordAttributes, emitWatermark, emitWatermark, emitWatermarkStatus
-
-
-
-
Method Detail
-
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
-
-