public interface RecordWriterDelegate<T extends org.apache.flink.core.io.IOReadableWritable> extends AvailabilityProvider, AutoCloseable
RecordWriter or multiple RecordWriter instances in specific
implementations.AvailabilityProvider.AvailabilityHelperAVAILABLE| Modifier and Type | Method and Description |
|---|---|
void |
broadcastEvent(AbstractEvent event)
Broadcasts the provided event to all the internal record writer instances.
|
RecordWriter<T> |
getRecordWriter(int outputIndex)
Returns the internal actual record writer instance based on the output index.
|
void |
setMaxOverdraftBuffersPerGate(int maxOverdraftBuffersPerGate)
Sets the max overdraft buffer size of per gate.
|
and, getAvailableFuture, isApproximatelyAvailable, isAvailable, orclosevoid broadcastEvent(AbstractEvent event) throws IOException
event - the event to be emitted to all the output channels.IOExceptionRecordWriter<T> getRecordWriter(int outputIndex)
outputIndex - the index respective to the record writer instance.void setMaxOverdraftBuffersPerGate(int maxOverdraftBuffersPerGate)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.