pub struct ColumnProfilerBuilder { /* private fields */ }Expand description
Builder for ColumnProfiler
Implementations§
Source§impl ColumnProfilerBuilder
impl ColumnProfilerBuilder
Sourcepub fn cardinality_threshold(self, threshold: u64) -> Self
pub fn cardinality_threshold(self, threshold: u64) -> Self
Set the cardinality threshold for deciding between Pass 2 and Pass 3
Sourcepub fn sample_size(self, size: u64) -> Self
pub fn sample_size(self, size: u64) -> Self
Set the sample size for Pass 1 type detection
Sourcepub fn max_memory_bytes(self, bytes: u64) -> Self
pub fn max_memory_bytes(self, bytes: u64) -> Self
Set maximum memory usage in bytes
Sourcepub fn enable_parallel(self, enable: bool) -> Self
pub fn enable_parallel(self, enable: bool) -> Self
Enable or disable parallel processing
Sourcepub fn progress_callback<F>(self, callback: F) -> Self
pub fn progress_callback<F>(self, callback: F) -> Self
Set progress callback
Sourcepub fn build(self) -> ColumnProfiler
pub fn build(self) -> ColumnProfiler
Build the ColumnProfiler
Auto Trait Implementations§
impl Freeze for ColumnProfilerBuilder
impl !RefUnwindSafe for ColumnProfilerBuilder
impl Send for ColumnProfilerBuilder
impl Sync for ColumnProfilerBuilder
impl Unpin for ColumnProfilerBuilder
impl !UnwindSafe for ColumnProfilerBuilder
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 more