Struct deltalake::datafusion::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() -> ArrowReaderOptions
pub fn new() -> ArrowReaderOptions
Create a new ArrowReaderOptions
with the default settings
sourcepub fn with_skip_arrow_metadata(
self,
skip_arrow_metadata: bool
) -> ArrowReaderOptions
pub fn with_skip_arrow_metadata( self, skip_arrow_metadata: bool ) -> ArrowReaderOptions
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) -> ArrowReaderOptions
pub fn with_page_index(self, page_index: bool) -> ArrowReaderOptions
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.