Class ChannelSelectorRecordWriter<T extends org.apache.flink.core.io.IOReadableWritable>

  • Type Parameters:
    T - the type of the record that can be emitted with this record writer
    All Implemented Interfaces:
    AvailabilityProvider

    public final class ChannelSelectorRecordWriter<T extends org.apache.flink.core.io.IOReadableWritable>
    extends RecordWriter<T>
    A regular record-oriented runtime result writer.

    The ChannelSelectorRecordWriter extends the RecordWriter and emits records to the channel selected by the ChannelSelector for regular emit(IOReadableWritable).

    • Method Detail

      • broadcastEmit

        public void broadcastEmit​(T record)
                           throws IOException
        Description copied from class: RecordWriter
        This is used to broadcast streaming Watermarks in-band with records.
        Specified by:
        broadcastEmit in class RecordWriter<T extends org.apache.flink.core.io.IOReadableWritable>
        Throws:
        IOException
      • getChannelSelector

        @VisibleForTesting
        public ChannelSelector<T> getChannelSelector()