Struct parquet::arrow::arrow_reader::ArrowReaderOptions
source · pub struct ArrowReaderOptions { /* private fields */ }
Expand description
Options that control how metadata is read for a parquet file
See ArrowReaderBuilder
for how to configure how the column data
is then read from the file, including projection and filter pushdown
Implementations§
source§impl ArrowReaderOptions
impl ArrowReaderOptions
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new ArrowReaderOptions
with the default settings
sourcepub fn with_skip_arrow_metadata(self, skip_arrow_metadata: bool) -> Self
pub fn with_skip_arrow_metadata(self, skip_arrow_metadata: bool) -> Self
Parquet files generated by some writers may contain embedded arrow schema and metadata. This may not be correct or compatible with your system.
For example:ARROW-16184
Set skip_arrow_metadata
to true, to skip decoding this
sourcepub fn with_page_index(self, page_index: bool) -> Self
pub fn with_page_index(self, page_index: bool) -> Self
Set this true to enable decoding of the PageIndex if present. This can be used to push down predicates to the parquet scan, potentially eliminating unnecessary IO
Trait Implementations§
source§impl Clone for ArrowReaderOptions
impl Clone for ArrowReaderOptions
source§fn clone(&self) -> ArrowReaderOptions
fn clone(&self) -> ArrowReaderOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ArrowReaderOptions
impl Debug for ArrowReaderOptions
source§impl Default for ArrowReaderOptions
impl Default for ArrowReaderOptions
source§fn default() -> ArrowReaderOptions
fn default() -> ArrowReaderOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ArrowReaderOptions
impl RefUnwindSafe for ArrowReaderOptions
impl Send for ArrowReaderOptions
impl Sync for ArrowReaderOptions
impl Unpin for ArrowReaderOptions
impl UnwindSafe for ArrowReaderOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)