pub struct ParquetReader<R: Read + Seek> { /* private fields */ }
Available on crate feature parquet only.
Expand description

Read Apache parquet format into a DataFrame.

Implementations§

Available on crate feature lazy only.

Try to reduce memory pressure at the expense of performance. If setting this does not reduce memory enough, turn off parallelization.

Read the parquet file in parallel (default). The single threaded reader consumes less memory.

Stop parsing when n rows are parsed. By settings this parameter the csv will be parsed sequentially.

Columns to select/ project

Set the reader’s column projection. This counts from 0, meaning that vec![0, 4] would select the 1st and 5th column.

Add a row_count column.

Schema of the file.

Number of rows in the parquet file.

Trait Implementations§

Create a new ParquetReader from an existing Reader.

Rechunk to a single chunk after Reading file.
Take the SerReader and return a parsed DataFrame.

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 alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
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.