Skip to main content

FileFacts

Struct FileFacts 

Source
pub struct FileFacts {
Show 13 fields pub path: String, pub size_bytes: u64, pub rows: i64, pub row_groups: usize, pub columns: usize, pub row_group_rows: Vec<i64>, pub column_bytes: i64, pub footer_bytes: i64, pub created_by: Option<String>, pub format_version: i32, pub compressions: Vec<String>, pub encodings: Vec<String>, pub key_value_metadata: Vec<Value>,
}
Expand description

What the footer says about the file as a whole.

Fields§

§path: String

The path, as it was given.

§size_bytes: u64

How many bytes the file is.

§rows: i64

How many rows it holds.

§row_groups: usize

How many row groups it has.

§columns: usize

How many leaf columns it has.

§row_group_rows: Vec<i64>

How many rows each row group holds.

§column_bytes: i64

The bytes the column chunks take.

§footer_bytes: i64

The bytes the footer takes (the file minus the column chunks).

§created_by: Option<String>

Who wrote the file.

§format_version: i32

The Parquet format version.

§compressions: Vec<String>

The compressions the columns use.

§encodings: Vec<String>

The encodings the pages use.

§key_value_metadata: Vec<Value>

The key-value metadata the writer left behind.

Trait Implementations§

Source§

impl Clone for FileFacts

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 FileFacts

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Forget for FileFacts

§

impl Freeze for FileFacts

§

impl Move for FileFacts

§

impl RefUnwindSafe for FileFacts

§

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

§

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

§

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

§

impl UnsafeUnpin for FileFacts

§

impl UnwindSafe for FileFacts
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.