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: StringThe path, as it was given.
size_bytes: u64How many bytes the file is.
rows: i64How many rows it holds.
row_groups: usizeHow many row groups it has.
columns: usizeHow many leaf columns it has.
row_group_rows: Vec<i64>How many rows each row group holds.
column_bytes: i64The bytes the column chunks take.
The bytes the footer takes (the file minus the column chunks).
created_by: Option<String>Who wrote the file.
format_version: i32The 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§
Auto Trait Implementations§
impl Forget for FileFacts
impl Freeze for FileFactswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<i64>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Value>: Freeze,
impl Move for FileFacts
impl RefUnwindSafe for FileFacts
impl Send for FileFacts
impl Sync for FileFacts
impl Unpin for FileFacts
impl UnsafeUnpin for FileFactswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<i64>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
impl UnwindSafe for FileFacts
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