pub struct ColumnSurvey {}Expand description
What one column turned out to hold.
Fields§
§name: String§declared_type: Option<String>§affinity: Affinity§nulls: u64Rows per logical storage class, affinity already applied.
integers: u64§reals: u64§texts: u64§blobs: u64§missing: u64Rows whose record ended before this column, which take its default.
largest_integer: u64The largest integer seen, by magnitude. A column that mixes integers and reals can only become a float if every integer in it survives the trip, and past 2^53 they stop doing that.
longest_value: usizeBytes in the longest text or blob seen. A key or an index has a length limit, so a caller deciding what to make of this column needs to know its worst case before it starts writing rather than after.
is_rowid_alias: bool§is_virtual: boolImplementations§
Source§impl ColumnSurvey
impl ColumnSurvey
Trait Implementations§
Source§impl Clone for ColumnSurvey
impl Clone for ColumnSurvey
Source§impl Debug for ColumnSurvey
impl Debug for ColumnSurvey
impl Eq for ColumnSurvey
Source§impl PartialEq for ColumnSurvey
impl PartialEq for ColumnSurvey
impl StructuralPartialEq for ColumnSurvey
Auto Trait Implementations§
impl Freeze for ColumnSurvey
impl RefUnwindSafe for ColumnSurvey
impl Send for ColumnSurvey
impl Sync for ColumnSurvey
impl Unpin for ColumnSurvey
impl UnsafeUnpin for ColumnSurvey
impl UnwindSafe for ColumnSurvey
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