Class ParquetRecordReader<T>

java.lang.Object
org.apache.hadoop.mapreduce.RecordReader<Void,T>
org.apache.parquet.hadoop.ParquetRecordReader<T>
Type Parameters:
T - type of the materialized records
All Implemented Interfaces:
Closeable, AutoCloseable

public class ParquetRecordReader<T> extends org.apache.hadoop.mapreduce.RecordReader<Void,T>
Reads the records from a block of a Parquet file
See Also:
  • Constructor Details

    • ParquetRecordReader

      public ParquetRecordReader(ReadSupport<T> readSupport)
      Parameters:
      readSupport - Object which helps reads files of the given type, e.g. Thrift, Avro.
    • ParquetRecordReader

      public ParquetRecordReader(ReadSupport<T> readSupport, org.apache.parquet.filter2.compat.FilterCompat.Filter filter)
      Parameters:
      readSupport - Object which helps reads files of the given type, e.g. Thrift, Avro.
      filter - for filtering individual records
    • ParquetRecordReader

      @Deprecated public ParquetRecordReader(ReadSupport<T> readSupport, org.apache.parquet.filter.UnboundRecordFilter filter)
      Deprecated.
      will be removed in 2.0.0.
      Parameters:
      readSupport - Object which helps reads files of the given type, e.g. Thrift, Avro.
      filter - for filtering individual records
  • Method Details