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

java.lang.Object
org.apache.flink.runtime.io.network.api.reader.AbstractReader
org.apache.flink.runtime.io.network.api.reader.MutableRecordReader<T>
Type Parameters:
T - The type of the record that is read.
All Implemented Interfaces:
MutableReader<T>, ReaderBase

public class MutableRecordReader<T extends org.apache.flink.core.io.IOReadableWritable> extends AbstractReader implements MutableReader<T>
Implementation of the record-oriented reader for mutable record types.
  • Constructor Details

    • MutableRecordReader

      public MutableRecordReader(InputGate inputGate, String[] tmpDirectories)
      Creates a new MutableRecordReader that de-serializes records from the given input gate and can spill partial records to disk, if they grow large.
      Parameters:
      inputGate - The input gate to read from.
      tmpDirectories - The temp directories. USed for spilling if the reader concurrently reconstructs multiple large records.
  • Method Details