public class ParquetReader<T> extends Object implements Closeable
| Constructor and Description |
|---|
ParquetReader(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path file,
ReadSupport<T> readSupport) |
ParquetReader(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path file,
ReadSupport<T> readSupport,
UnboundRecordFilter filter) |
ParquetReader(org.apache.hadoop.fs.Path file,
ReadSupport<T> readSupport) |
ParquetReader(org.apache.hadoop.fs.Path file,
ReadSupport<T> readSupport,
UnboundRecordFilter filter) |
public ParquetReader(org.apache.hadoop.fs.Path file,
ReadSupport<T> readSupport)
throws IOException
file - the file to readreadSupport - to materialize recordsIOExceptionpublic ParquetReader(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path file,
ReadSupport<T> readSupport)
throws IOException
conf - the configurationfile - the file to readreadSupport - to materialize recordsIOExceptionpublic ParquetReader(org.apache.hadoop.fs.Path file,
ReadSupport<T> readSupport,
UnboundRecordFilter filter)
throws IOException
file - the file to readreadSupport - to materialize recordsfilter - the filter to use to filter recordsIOExceptionpublic ParquetReader(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path file,
ReadSupport<T> readSupport,
UnboundRecordFilter filter)
throws IOException
conf - the configurationfile - the file to readreadSupport - to materialize recordsfilter - the filter to use to filter recordsIOExceptionpublic T read() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014. All Rights Reserved.