T
- the Java type of records created by this readerpublic class AvroParquetReader<T> extends ParquetReader<T>
Modifier and Type | Class and Description |
---|---|
static class |
AvroParquetReader.Builder<T> |
Constructor and Description |
---|
AvroParquetReader(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path file)
Deprecated.
will be removed in 2.0.0; use
builder(InputFile) instead. |
AvroParquetReader(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path file,
UnboundRecordFilter unboundRecordFilter)
Deprecated.
will be removed in 2.0.0; use
builder(InputFile) instead. |
AvroParquetReader(org.apache.hadoop.fs.Path file)
Deprecated.
will be removed in 2.0.0; use
builder(InputFile) instead. |
AvroParquetReader(org.apache.hadoop.fs.Path file,
UnboundRecordFilter unboundRecordFilter)
Deprecated.
will be removed in 2.0.0; use
builder(InputFile) instead. |
Modifier and Type | Method and Description |
---|---|
static <T> AvroParquetReader.Builder<T> |
builder(InputFile file) |
static <T> AvroParquetReader.Builder<T> |
builder(org.apache.hadoop.fs.Path file)
Deprecated.
will be removed in 2.0.0; use
builder(InputFile) instead. |
builder, close, read, read
@Deprecated public AvroParquetReader(org.apache.hadoop.fs.Path file) throws IOException
builder(InputFile)
instead.file
- a file pathIOException
- if there is an error while reading@Deprecated public AvroParquetReader(org.apache.hadoop.fs.Path file, UnboundRecordFilter unboundRecordFilter) throws IOException
builder(InputFile)
instead.file
- a file pathunboundRecordFilter
- an unbound record filter (from the old filter API)IOException
- if there is an error while reading@Deprecated public AvroParquetReader(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path file) throws IOException
builder(InputFile)
instead.conf
- a configurationfile
- a file pathIOException
- if there is an error while reading@Deprecated public AvroParquetReader(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path file, UnboundRecordFilter unboundRecordFilter) throws IOException
builder(InputFile)
instead.conf
- a configurationfile
- a file pathunboundRecordFilter
- an unbound record filter (from the old filter API)IOException
- if there is an error while reading@Deprecated public static <T> AvroParquetReader.Builder<T> builder(org.apache.hadoop.fs.Path file)
builder(InputFile)
instead.T
- the Java type of records to read from the filefile
- a file pathpublic static <T> AvroParquetReader.Builder<T> builder(InputFile file)
Copyright © 2019 The Apache Software Foundation. All rights reserved.