pub struct ParquetFileArrowReader { /* private fields */ }
👎Deprecated:

Use ParquetRecordBatchReaderBuilder instead

Expand description

An ArrowReader that can be used to synchronously read parquet data as RecordBatch

See crate::arrow::async_reader for an asynchronous interface

Implementations

Create a new ParquetFileArrowReader with the provided ChunkReader


let file = File::open("file.parquet").unwrap();
let reader = ParquetFileArrowReader::try_new(file).unwrap();

let bytes = Bytes::from(vec![]);
let reader = ParquetFileArrowReader::try_new(bytes).unwrap();

Create a new ParquetFileArrowReader with the provided ChunkReader and ArrowReaderOptions

Create a new ParquetFileArrowReader with the provided Arc<dyn FileReader>

👎Deprecated:

use metadata() instead

Expose the reader metadata

Returns the parquet metadata

Returns the parquet schema

Trait Implementations

👎Deprecated:

Use ParquetRecordBatchReaderBuilder instead

👎Deprecated:

Use ParquetRecordBatchReaderBuilder instead

Read parquet schema and convert it into arrow schema.

👎Deprecated:

Use ParquetRecordBatchReaderBuilder instead

Read parquet schema and convert it into arrow schema. This schema only includes columns identified by mask. Read more

👎Deprecated:

Use ParquetRecordBatchReaderBuilder instead

Returns record batch reader from whole parquet file. Read more

👎Deprecated:

Use ParquetRecordBatchReaderBuilder instead

Returns record batch reader whose record batch contains columns identified by mask. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.