Class AbstractMapredIcebergRecordReader<T>

java.lang.Object
org.apache.iceberg.mr.mapred.AbstractMapredIcebergRecordReader<T>
All Implemented Interfaces:
org.apache.hadoop.mapred.RecordReader<Void,T>

public abstract class AbstractMapredIcebergRecordReader<T> extends Object implements org.apache.hadoop.mapred.RecordReader<Void,T>
  • Field Details

    • innerReader

      protected final org.apache.hadoop.mapreduce.RecordReader<Void,?> innerReader
  • Constructor Details

    • AbstractMapredIcebergRecordReader

      public AbstractMapredIcebergRecordReader(IcebergInputFormat<?> mapreduceInputFormat, IcebergSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter) throws IOException
      Throws:
      IOException
  • Method Details

    • createKey

      public Void createKey()
      Specified by:
      createKey in interface org.apache.hadoop.mapred.RecordReader<Void,T>
    • getProgress

      public float getProgress() throws IOException
      Specified by:
      getProgress in interface org.apache.hadoop.mapred.RecordReader<Void,T>
      Throws:
      IOException
    • close

      public void close() throws IOException
      Specified by:
      close in interface org.apache.hadoop.mapred.RecordReader<Void,T>
      Throws:
      IOException