Class BroadcastingOutput
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.multipleinput.output.BroadcastingOutput
-
- 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>>
- Direct Known Subclasses:
CopyingBroadcastingOutput
public class BroadcastingOutput extends Object implements org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>
AnOutputthat can be used to emit elements and other messages to multiple outputs.The functionality of this class is similar to
OperatorChain#BroadcastingOutputCollector.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>[]outputs
-
Constructor Summary
Constructors Constructor Description BroadcastingOutput(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 voidclose()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)voidemitLatencyMarker(org.apache.flink.streaming.runtime.streamrecord.LatencyMarker latencyMarker)voidemitRecordAttributes(org.apache.flink.streaming.runtime.streamrecord.RecordAttributes recordAttributes)voidemitWatermark(org.apache.flink.runtime.event.WatermarkEvent watermark)voidemitWatermark(org.apache.flink.streaming.api.watermark.Watermark mark)voidemitWatermarkStatus(org.apache.flink.streaming.runtime.watermarkstatus.WatermarkStatus watermarkStatus)
-
-
-
Method Detail
-
emitWatermark
public void emitWatermark(org.apache.flink.streaming.api.watermark.Watermark mark)
- Specified by:
emitWatermarkin interfaceorg.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>
-
emitWatermarkStatus
public void emitWatermarkStatus(org.apache.flink.streaming.runtime.watermarkstatus.WatermarkStatus watermarkStatus)
- Specified by:
emitWatermarkStatusin interfaceorg.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>
-
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>>
-
emitLatencyMarker
public void emitLatencyMarker(org.apache.flink.streaming.runtime.streamrecord.LatencyMarker latencyMarker)
- Specified by:
emitLatencyMarkerin interfaceorg.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>
-
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>>
-
close
public void close()
- Specified by:
closein interfaceorg.apache.flink.util.Collector<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>
-
emitRecordAttributes
public void emitRecordAttributes(org.apache.flink.streaming.runtime.streamrecord.RecordAttributes recordAttributes)
- Specified by:
emitRecordAttributesin interfaceorg.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>
-
emitWatermark
public void emitWatermark(org.apache.flink.runtime.event.WatermarkEvent watermark)
- Specified by:
emitWatermarkin interfaceorg.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>
-
-