Class ParquetReader<T>

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class ParquetReader<T>
    extends Object
    implements Closeable
    Read records from a Parquet file. TODO: too many constructors (https://issues.apache.org/jira/browse/PARQUET-39)
    • Constructor Detail

      • ParquetReader

        @Deprecated
        public ParquetReader​(org.apache.hadoop.conf.Configuration conf,
                             org.apache.hadoop.fs.Path file,
                             ReadSupport<T> readSupport)
                      throws IOException
        Parameters:
        conf - the configuration
        file - the file to read
        readSupport - to materialize records
        Throws:
        IOException - if there is an error while reading
      • ParquetReader

        @Deprecated
        public ParquetReader​(org.apache.hadoop.fs.Path file,
                             ReadSupport<T> readSupport,
                             org.apache.parquet.filter.UnboundRecordFilter unboundRecordFilter)
                      throws IOException
        Parameters:
        file - the file to read
        readSupport - to materialize records
        unboundRecordFilter - the filter to use to filter records
        Throws:
        IOException - if there is an error while reading
      • ParquetReader

        @Deprecated
        public ParquetReader​(org.apache.hadoop.conf.Configuration conf,
                             org.apache.hadoop.fs.Path file,
                             ReadSupport<T> readSupport,
                             org.apache.parquet.filter.UnboundRecordFilter unboundRecordFilter)
                      throws IOException
        Parameters:
        conf - the configuration
        file - the file to read
        readSupport - to materialize records
        unboundRecordFilter - the filter to use to filter records
        Throws:
        IOException - if there is an error while reading