pub struct StreamingOptions {
pub reservoir_capacity: usize,
pub distinct_cap: usize,
pub compute_duplicates: bool,
pub seed: u64,
}Expand description
Options for profile_csv_streaming_with.
Fields§
§reservoir_capacity: usizeReservoir size for quantile/histogram sampling per column
(default 10_000). Tables with at most this many rows are profiled
exactly.
distinct_cap: usizeMaximum tracked distinct values per categorical column
(default 100_000). Beyond this, unique becomes a documented lower
bound.
compute_duplicates: boolTrack exact duplicate rows (default false): costs one hash-set
entry per row.
seed: u64Seed for reservoir sampling (default 0x9E37_79B9_7F4A_7C15).
Trait Implementations§
Source§impl Clone for StreamingOptions
impl Clone for StreamingOptions
Source§fn clone(&self) -> StreamingOptions
fn clone(&self) -> StreamingOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StreamingOptions
impl Debug for StreamingOptions
Auto Trait Implementations§
impl Freeze for StreamingOptions
impl RefUnwindSafe for StreamingOptions
impl Send for StreamingOptions
impl Sync for StreamingOptions
impl Unpin for StreamingOptions
impl UnsafeUnpin for StreamingOptions
impl UnwindSafe for StreamingOptions
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