pub struct DeltaScanConfigBuilder { /* private fields */ }
Expand description
Used to specify if additional metadata columns are exposed to the user
Implementations§
Source§impl DeltaScanConfigBuilder
impl DeltaScanConfigBuilder
Sourcepub fn with_file_column(self, include: bool) -> Self
pub fn with_file_column(self, include: bool) -> Self
Indicate that a column containing a records file path is included. Column name is generated and can be determined once this Config is built
Sourcepub fn with_file_column_name<S: ToString>(self, name: &S) -> Self
pub fn with_file_column_name<S: ToString>(self, name: &S) -> Self
Indicate that a column containing a records file path is included and column name is user defined.
Sourcepub fn wrap_partition_values(self, wrap: bool) -> Self
pub fn wrap_partition_values(self, wrap: bool) -> Self
Whether to wrap partition values in a dictionary encoding
Sourcepub fn with_parquet_pushdown(self, pushdown: bool) -> Self
pub fn with_parquet_pushdown(self, pushdown: bool) -> Self
Allow pushdown of the scan filter When disabled the filter will only be used for pruning files
Sourcepub fn with_schema(self, schema: SchemaRef) -> Self
pub fn with_schema(self, schema: SchemaRef) -> Self
Sourcepub fn build(&self, snapshot: &DeltaTableState) -> DeltaResult<DeltaScanConfig>
pub fn build(&self, snapshot: &DeltaTableState) -> DeltaResult<DeltaScanConfig>
Build a DeltaScanConfig and ensure no column name conflicts occur during downstream processing
Trait Implementations§
Source§impl Clone for DeltaScanConfigBuilder
impl Clone for DeltaScanConfigBuilder
Source§fn clone(&self) -> DeltaScanConfigBuilder
fn clone(&self) -> DeltaScanConfigBuilder
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 DeltaScanConfigBuilder
impl Debug for DeltaScanConfigBuilder
Auto Trait Implementations§
impl Freeze for DeltaScanConfigBuilder
impl RefUnwindSafe for DeltaScanConfigBuilder
impl Send for DeltaScanConfigBuilder
impl Sync for DeltaScanConfigBuilder
impl Unpin for DeltaScanConfigBuilder
impl UnwindSafe for DeltaScanConfigBuilder
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§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 more