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>>
An Output that 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 final org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>[]
     
  • 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

    Modifier and Type
    Method
    Description
    void
     
    void
    collect(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData> record)
     
    <X> void
    collect(org.apache.flink.util.OutputTag<X> outputTag, org.apache.flink.streaming.runtime.streamrecord.StreamRecord<X> record)
     
    void
    emitLatencyMarker(org.apache.flink.streaming.runtime.streamrecord.LatencyMarker latencyMarker)
     
    void
    emitRecordAttributes(org.apache.flink.streaming.runtime.streamrecord.RecordAttributes recordAttributes)
     
    void
    emitWatermark(org.apache.flink.runtime.event.WatermarkEvent watermark)
     
    void
    emitWatermark(org.apache.flink.streaming.api.watermark.Watermark mark)
     
    void
    emitWatermarkStatus(org.apache.flink.streaming.runtime.watermarkstatus.WatermarkStatus watermarkStatus)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • outputs

      protected final org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>[] outputs
  • Constructor Details

    • BroadcastingOutput

      public BroadcastingOutput(org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>[] outputs)
  • Method Details

    • emitWatermark

      public void emitWatermark(org.apache.flink.streaming.api.watermark.Watermark mark)
      Specified by:
      emitWatermark in interface org.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:
      emitWatermarkStatus in interface org.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:
      collect in interface org.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:
      emitLatencyMarker in interface org.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:
      collect in interface org.apache.flink.util.Collector<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>
    • close

      public void close()
      Specified by:
      close in interface org.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:
      emitRecordAttributes in interface org.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:
      emitWatermark in interface org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>