Skip to main content

ColumnFacts

Struct ColumnFacts 

Source
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: String

The name of the leaf column (its path, when it is nested).

§data_type: String

The 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: String

The physical type (INT64, BYTE_ARRAY, …).

§logical_type: String

The logical type, when the file carries one.

§compression: String

The compression the column was written with.

§encodings: Vec<String>

The encodings its pages use.

§num_values: i64

How many values there are (nulls included).

§null_count: u64

How 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: i64

How many bytes the column takes in the file.

§uncompressed_size: i64

How 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

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ColumnFacts

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Forget for ColumnFacts

§

impl Freeze for ColumnFacts
where *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
where RawVecInner: Send, NodeRef<Owned, String, Value, LeafOrInternal>: Send, BoxRaw<(String, Value)>: Send,

§

impl Sync for ColumnFacts
where RawVecInner: Sync, NodeRef<Owned, String, Value, LeafOrInternal>: Sync, BoxRaw<(String, Value)>: Sync,

§

impl Unpin for ColumnFacts
where *const u8 is !null: Unpin, *const LeafNode<String, Value> is !null: Unpin, Box<(String, Value)>: Unpin,

§

impl UnsafeUnpin for ColumnFacts

§

impl UnwindSafe for ColumnFacts
where RawVecInner: UnwindSafe, BTreeMap<String, Value>: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.