Interface RecordDeserializer<T extends org.apache.flink.core.io.IOReadableWritable>

  • All Known Implementing Classes:
    SpillingAdaptiveSpanningRecordDeserializer

    public interface RecordDeserializer<T extends org.apache.flink.core.io.IOReadableWritable>
    Interface for turning sequences of memory segments into records.
    • Method Detail

      • clear

        void clear()
      • getUnconsumedBuffer

        org.apache.flink.util.CloseableIterator<Buffer> getUnconsumedBuffer()
                                                                     throws IOException
        Gets the unconsumed buffer which needs to be persisted in unaligned checkpoint scenario.

        Note that the unconsumed buffer might be null if the whole buffer was already consumed before and there are no partial length or data remained in the end of buffer.

        Throws:
        IOException