pub struct DeltaReaderExecutionOptions { /* private fields */ }Expand description
Bounded execution settings for one Delta scan.
Implementations§
Source§impl DeltaReaderExecutionOptions
impl DeltaReaderExecutionOptions
Sourcepub const fn reader_backend(&self) -> DeltaReaderBackend
pub const fn reader_backend(&self) -> DeltaReaderBackend
Returns the selected data-file reader backend.
Sourcepub const fn max_concurrent_file_reads_per_scan(&self) -> Option<usize>
pub const fn max_concurrent_file_reads_per_scan(&self) -> Option<usize>
Returns the optional scan-wide file-read limit.
Sourcepub const fn max_concurrent_file_reads_per_partition(&self) -> usize
pub const fn max_concurrent_file_reads_per_partition(&self) -> usize
Returns the per-partition file-read limit.
Sourcepub const fn output_buffer_capacity_per_partition(&self) -> usize
pub const fn output_buffer_capacity_per_partition(&self) -> usize
Returns the per-partition output buffer capacity.
Sourcepub const fn native_async_prefetch_file_count_per_partition(&self) -> usize
pub const fn native_async_prefetch_file_count_per_partition(&self) -> usize
Returns the NativeAsync per-partition file prefetch depth.
Sourcepub const fn parquet_metadata_size_hint(&self) -> Option<usize>
pub const fn parquet_metadata_size_hint(&self) -> Option<usize>
Returns the NativeAsync Parquet metadata size hint.
Sourcepub const fn parquet_full_file_read_threshold(&self) -> Option<usize>
pub const fn parquet_full_file_read_threshold(&self) -> Option<usize>
Returns the NativeAsync full-file read threshold.
Sourcepub fn with_reader_backend(
self,
value: DeltaReaderBackend,
) -> Result<Self, DeltaReaderError>
pub fn with_reader_backend( self, value: DeltaReaderBackend, ) -> Result<Self, DeltaReaderError>
Selects a data-file reader backend.
Sourcepub fn with_max_concurrent_file_reads_per_scan(
self,
value: Option<usize>,
) -> Result<Self, DeltaReaderError>
pub fn with_max_concurrent_file_reads_per_scan( self, value: Option<usize>, ) -> Result<Self, DeltaReaderError>
Sets or clears the scan-wide file-read limit.
Sourcepub fn with_max_concurrent_file_reads_per_partition(
self,
value: usize,
) -> Result<Self, DeltaReaderError>
pub fn with_max_concurrent_file_reads_per_partition( self, value: usize, ) -> Result<Self, DeltaReaderError>
Sets the per-partition file-read limit.
Sourcepub fn with_output_buffer_capacity_per_partition(
self,
value: usize,
) -> Result<Self, DeltaReaderError>
pub fn with_output_buffer_capacity_per_partition( self, value: usize, ) -> Result<Self, DeltaReaderError>
Sets the per-partition output buffer capacity.
Sourcepub fn with_native_async_prefetch_file_count_per_partition(
self,
value: usize,
) -> Result<Self, DeltaReaderError>
pub fn with_native_async_prefetch_file_count_per_partition( self, value: usize, ) -> Result<Self, DeltaReaderError>
Sets the NativeAsync per-partition file prefetch depth.
Sourcepub fn with_parquet_metadata_size_hint(
self,
value: Option<usize>,
) -> Result<Self, DeltaReaderError>
pub fn with_parquet_metadata_size_hint( self, value: Option<usize>, ) -> Result<Self, DeltaReaderError>
Sets or clears the NativeAsync Parquet metadata size hint.
Sourcepub fn with_parquet_full_file_read_threshold(
self,
value: Option<usize>,
) -> Result<Self, DeltaReaderError>
pub fn with_parquet_full_file_read_threshold( self, value: Option<usize>, ) -> Result<Self, DeltaReaderError>
Sets or clears the NativeAsync full-file read threshold.
Sourcepub fn validate(&self) -> Result<(), DeltaReaderError>
pub fn validate(&self) -> Result<(), DeltaReaderError>
Validates all execution bounds.
Trait Implementations§
Source§impl Clone for DeltaReaderExecutionOptions
impl Clone for DeltaReaderExecutionOptions
Source§fn clone(&self) -> DeltaReaderExecutionOptions
fn clone(&self) -> DeltaReaderExecutionOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DeltaReaderExecutionOptions
Source§impl Debug for DeltaReaderExecutionOptions
impl Debug for DeltaReaderExecutionOptions
impl Eq for DeltaReaderExecutionOptions
impl StructuralPartialEq for DeltaReaderExecutionOptions
Auto Trait Implementations§
impl Freeze for DeltaReaderExecutionOptions
impl RefUnwindSafe for DeltaReaderExecutionOptions
impl Send for DeltaReaderExecutionOptions
impl Sync for DeltaReaderExecutionOptions
impl Unpin for DeltaReaderExecutionOptions
impl UnsafeUnpin for DeltaReaderExecutionOptions
impl UnwindSafe for DeltaReaderExecutionOptions
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> AsAny for T
impl<T> AsAny for T
Source§fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
fn any_ref(&self) -> &(dyn Any + Send + Sync + 'static)
dyn Any reference to the object: Read moreSource§fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync> ⓘ
fn as_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync> ⓘ
Arc<dyn Any> reference to the object: Read moreSource§fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
fn into_any(self: Box<T>) -> Box<dyn Any + Send + Sync>
Box<dyn Any>: Read moreSource§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
std::any::type_name, since Any does not provide it and
Any::type_id is useless as a debugging aid (its Debug is just a mess of hex digits).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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DynPartialEq for T
impl<T> DynPartialEq for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
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> ⓘ
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