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

    • Constructor Detail

      • NonRecordWriter

        public NonRecordWriter()
    • Method Detail

      • getRecordWriter

        public RecordWriter<T> getRecordWriter​(int outputIndex)
        Description copied from interface: RecordWriterDelegate
        Returns the internal actual record writer instance based on the output index.
        Specified by:
        getRecordWriter in interface RecordWriterDelegate<T extends org.apache.flink.core.io.IOReadableWritable>
        Parameters:
        outputIndex - the index respective to the record writer instance.
      • setMaxOverdraftBuffersPerGate

        public void setMaxOverdraftBuffersPerGate​(int maxOverdraftBuffersPerGate)
        Description copied from interface: RecordWriterDelegate
        Sets the max overdraft buffer size of per gate.
        Specified by:
        setMaxOverdraftBuffersPerGate in interface RecordWriterDelegate<T extends org.apache.flink.core.io.IOReadableWritable>
      • isAvailable

        public boolean isAvailable()
        Description copied from interface: AvailabilityProvider
        In order to best-effort avoid volatile access in CompletableFuture.isDone(), we check the condition of future == AVAILABLE firstly for getting probable performance benefits while hot looping.

        It is always safe to use this method in performance nonsensitive scenarios to get the precise state.

        Specified by:
        isAvailable in interface AvailabilityProvider
        Returns:
        true if this instance is available for further processing.