pub struct ColumnFacts {Show 14 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>,
pub row_groups: Vec<GroupStat>,
}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.
row_groups: Vec<GroupStat>The statistics of each row group: what a reader uses to skip one.
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,
PhantomData<GroupStat>: 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,
PhantomData<GroupStat>: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more