public class CopyingBroadcastingOutput extends BroadcastingOutput
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.
outputs| Constructor and Description |
|---|
CopyingBroadcastingOutput(org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>[] outputs) |
| Modifier and Type | Method and Description |
|---|---|
<X> void |
collect(org.apache.flink.util.OutputTag<X> outputTag,
org.apache.flink.streaming.runtime.streamrecord.StreamRecord<X> record) |
void |
collect(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData> record) |
close, emitLatencyMarker, emitRecordAttributes, emitWatermark, emitWatermarkStatuspublic CopyingBroadcastingOutput(org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>[] outputs)
public void collect(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData> record)
collect in interface org.apache.flink.util.Collector<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>collect in class BroadcastingOutputpublic <X> void collect(org.apache.flink.util.OutputTag<X> outputTag,
org.apache.flink.streaming.runtime.streamrecord.StreamRecord<X> record)
collect in interface org.apache.flink.streaming.api.operators.Output<org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData>>collect in class BroadcastingOutputCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.