T - the type of the record that can be emitted with this record writerpublic final class BroadcastRecordWriter<T extends org.apache.flink.core.io.IOReadableWritable> extends RecordWriter<T>
The BroadcastRecordWriter extends the RecordWriter and emits records to all channels
for regular emit(IOReadableWritable).
AvailabilityProvider.AvailabilityHelperDEFAULT_OUTPUT_FLUSH_THREAD_NAME, flushAlways, numberOfChannels, rng, serializer, targetPartitionAVAILABLE| 限定符和类型 | 方法和说明 |
|---|---|
void |
broadcastEmit(T record)
This is used to broadcast streaming Watermarks in-band with records.
|
void |
emit(T record)
This is used to send regular records.
|
abortCheckpoint, alignedBarrierTimeout, broadcastEvent, broadcastEvent, checkErroneous, close, emit, flushAll, getAvailableFuture, randomEmit, serializeRecord, setMaxOverdraftBuffersPerGate, setMetricGroupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, isApproximatelyAvailable, isAvailable, orpublic void emit(T record) throws IOException
RecordWriteremit 在类中 RecordWriter<T extends org.apache.flink.core.io.IOReadableWritable>IOExceptionpublic void broadcastEmit(T record) throws IOException
RecordWriterbroadcastEmit 在类中 RecordWriter<T extends org.apache.flink.core.io.IOReadableWritable>IOExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.