pub struct FileFacts {Show 17 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 metadata_bytes: i64,
pub row_group_bytes: Vec<i64>,
pub lookup_reads_typical: i64,
pub lookup_reads_worst: 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 after the data: the metadata, the page index, and the magic. This is what a reader fetches before it can read anything.
metadata_bytes: i64The bytes the metadata itself takes (the tail of the file).
row_group_bytes: Vec<i64>The bytes each row group takes.
lookup_reads_typical: i64What one lookup reads, typically: the footer plus one row group.
lookup_reads_worst: i64What one lookup reads at worst: the footer plus the largest row group.
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
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