pub struct ColumnFacts {Show 13 fields
pub name: String,
pub data_type: String,
pub physical_type: String,
pub logical_type: String,
pub compression: String,
pub encodings: Vec<String>,
pub num_values: i64,
pub null_count: u64,
pub min: Option<Value>,
pub max: Option<Value>,
pub compressed_size: i64,
pub uncompressed_size: i64,
pub distinct_count: Option<u64>,
}Expand description
What the footer says about one column.
Fields§
§name: StringThe name of the leaf column (its path, when it is nested).
data_type: StringThe type a person reads: the logical type when the file has one, the Arrow type when it does not but the Arrow schema is there, the physical type when there is nothing better.
physical_type: StringThe physical type (INT64, BYTE_ARRAY, …).
logical_type: StringThe logical type, when the file carries one.
compression: StringThe compression the column was written with.
encodings: Vec<String>The encodings its pages use.
num_values: i64How many values there are (nulls included).
null_count: u64How many of them are null.
min: Option<Value>The smallest value, when the footer has it.
max: Option<Value>The largest value, when the footer has it.
compressed_size: i64How many bytes the column takes in the file.
uncompressed_size: i64How many bytes the values take before compression.
distinct_count: Option<u64>The distinct values, when the file was read to count them.
Trait Implementations§
Source§impl Clone for ColumnFacts
impl Clone for ColumnFacts
Auto Trait Implementations§
impl Forget for ColumnFacts
impl Freeze for ColumnFactswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for ColumnFacts
impl RefUnwindSafe for ColumnFacts
impl Send for ColumnFacts
impl Sync for ColumnFacts
impl Unpin for ColumnFacts
impl UnsafeUnpin for ColumnFactswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for ColumnFacts
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