pub struct StreamingColumnCollection { /* private fields */ }Implementations§
Source§impl StreamingColumnCollection
impl StreamingColumnCollection
pub fn new() -> Self
pub fn memory_limit(limit_mb: usize) -> Self
pub fn init_columns(&mut self, headers: &[String])
pub fn process_record<I>(&mut self, headers: &[String], values: I)where
I: IntoIterator<Item = String>,
pub fn get_column_stats( &self, column_name: &str, ) -> Option<&StreamingStatistics>
pub fn column_names(&self) -> Vec<String>
pub fn memory_usage_bytes(&self) -> usize
pub fn is_memory_pressure(&self) -> bool
pub fn reduce_memory_usage(&mut self)
Sourcepub fn column_type_fingerprint(&self) -> u64
pub fn column_type_fingerprint(&self) -> u64
Fingerprint of each column’s currently inferred data type.
Returns a u64 hash suitable for cheap comparison in a schema
stability tracker.
pub fn merge(&mut self, other: StreamingColumnCollection)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StreamingColumnCollection
impl RefUnwindSafe for StreamingColumnCollection
impl Send for StreamingColumnCollection
impl Sync for StreamingColumnCollection
impl Unpin for StreamingColumnCollection
impl UnsafeUnpin for StreamingColumnCollection
impl UnwindSafe for StreamingColumnCollection
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