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(InputFile file,
ParquetConfiguration conf) |
static <T> AvroParquetReader.Builder<T> |
builder(org.apache.hadoop.fs.Path file)
Deprecated.
will be removed in 2.0.0; use
builder(InputFile) instead. |
static ParquetReader<org.apache.avro.generic.GenericRecord> |
genericRecordReader(InputFile file)
Convenience method for creating a ParquetReader which uses Avro
GenericData objects to store data from reads. |
static ParquetReader<org.apache.avro.generic.GenericRecord> |
genericRecordReader(InputFile file,
ParquetConfiguration conf)
Convenience method for creating a ParquetReader which uses Avro
GenericData objects to store data from reads. |
static ParquetReader<org.apache.avro.generic.GenericRecord> |
genericRecordReader(org.apache.hadoop.fs.Path file)
Deprecated.
will be removed in 2.0.0; use
genericRecordReader(InputFile) instead. |
builder, close, getCurrentRowIndex, read, 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)
public static <T> AvroParquetReader.Builder<T> builder(InputFile file, ParquetConfiguration conf)
public static ParquetReader<org.apache.avro.generic.GenericRecord> genericRecordReader(InputFile file) throws IOException
GenericData objects to store data from reads.file - The location to read data fromParquetReader which reads data as Avro
GenericDataIOException - if the InputFile has been closed, or if some other I/O
error occurspublic static ParquetReader<org.apache.avro.generic.GenericRecord> genericRecordReader(InputFile file, ParquetConfiguration conf) throws IOException
GenericData objects to store data from reads.file - The location to read data fromconf - The configuration to useParquetReader which reads data as Avro
GenericDataIOException - if the InputFile has been closed, or if some other I/O
error occurs@Deprecated public static ParquetReader<org.apache.avro.generic.GenericRecord> genericRecordReader(org.apache.hadoop.fs.Path file) throws IOException
genericRecordReader(InputFile) instead.GenericData objects to store data from reads.file - The location to read data fromParquetReader which reads data as Avro
GenericDataIOException - if the InputFile has been closed, or if some other I/O
error occursCopyright © 2024 The Apache Software Foundation. All rights reserved.