pub struct ColumnProfileInput<'a> {
pub name: String,
pub data_type: DataType,
pub total_count: usize,
pub null_count: usize,
pub unique_count: Option<usize>,
pub sample_values: &'a [String],
pub text_lengths: Option<TextLengths>,
pub boolean_counts: Option<(usize, usize)>,
pub skip_statistics: bool,
pub skip_patterns: bool,
pub locale: Option<&'a str>,
}Expand description
Inputs that every engine can provide for centralized profile construction.
Fields§
§name: String§data_type: DataType§total_count: usize§null_count: usize§unique_count: Option<usize>§sample_values: &'a [String]§text_lengths: Option<TextLengths>Pre-computed text lengths for engines that track them incrementally.
When Some, text stats are built from these instead of re-scanning samples.
boolean_counts: Option<(usize, usize)>Pre-computed boolean counts (true_count, false_count) for boolean columns.
skip_statistics: boolWhen true, skip statistics computation (produce ColumnStats::None).
skip_patterns: boolWhen true, skip pattern detection (produce empty patterns vec).
locale: Option<&'a str>Optional locale for pattern detection (e.g. “IT”, “US”).
Auto Trait Implementations§
impl<'a> Freeze for ColumnProfileInput<'a>
impl<'a> RefUnwindSafe for ColumnProfileInput<'a>
impl<'a> Send for ColumnProfileInput<'a>
impl<'a> Sync for ColumnProfileInput<'a>
impl<'a> Unpin for ColumnProfileInput<'a>
impl<'a> UnsafeUnpin for ColumnProfileInput<'a>
impl<'a> UnwindSafe for ColumnProfileInput<'a>
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