pub struct ColumnStatistics {
pub name: String,
pub inferred_type: String,
pub type_confidence: f64,
pub null_percentage: f64,
pub unique_values: usize,
pub avg_size_bytes: f64,
pub min_value: Option<Value>,
pub max_value: Option<Value>,
pub patterns: Vec<String>,
}Expand description
Column statistics for type inference
Fields§
§name: StringColumn name
inferred_type: StringInferred data type
type_confidence: f64Type confidence (0.0 - 1.0)
null_percentage: f64Null value percentage
unique_values: usizeUnique value count (sampled)
avg_size_bytes: f64Average value size in bytes
min_value: Option<Value>Min/max values (for applicable types)
max_value: Option<Value>§patterns: Vec<String>Common patterns detected
Trait Implementations§
Source§impl Clone for ColumnStatistics
impl Clone for ColumnStatistics
Source§fn clone(&self) -> ColumnStatistics
fn clone(&self) -> ColumnStatistics
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 ColumnStatistics
impl Debug for ColumnStatistics
Source§impl<'de> Deserialize<'de> for ColumnStatistics
impl<'de> Deserialize<'de> for ColumnStatistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ColumnStatistics
impl RefUnwindSafe for ColumnStatistics
impl Send for ColumnStatistics
impl Sync for ColumnStatistics
impl Unpin for ColumnStatistics
impl UnsafeUnpin for ColumnStatistics
impl UnwindSafe for ColumnStatistics
Blanket Implementations§
impl<T> Allocation for T
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