public class RecordWriterBroadcastOutput<OUT> extends Object implements BroadcastOutput<OUT>
Constructor and Description |
---|
RecordWriterBroadcastOutput(org.apache.flink.runtime.io.network.api.writer.RecordWriter<org.apache.flink.runtime.plugable.SerializationDelegate<org.apache.flink.streaming.runtime.streamrecord.StreamElement>> recordWriter,
org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.streaming.runtime.streamrecord.StreamElement> typeSerializer) |
Modifier and Type | Method and Description |
---|---|
void |
broadcastEmit(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<OUT> record)
Broadcasts the record to all the downstream operators.
|
public RecordWriterBroadcastOutput(org.apache.flink.runtime.io.network.api.writer.RecordWriter<org.apache.flink.runtime.plugable.SerializationDelegate<org.apache.flink.streaming.runtime.streamrecord.StreamElement>> recordWriter, org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.streaming.runtime.streamrecord.StreamElement> typeSerializer)
public void broadcastEmit(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<OUT> record) throws IOException
BroadcastOutput
broadcastEmit
in interface BroadcastOutput<OUT>
record
- the record to broadcast.IOException
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.