pub struct PageStat {
pub first_row_id: u64,
pub last_row_id: u64,
pub null_count: u64,
pub row_count: u32,
pub min: Option<Vec<u8>>,
pub max: Option<Vec<u8>>,
pub offset: u64,
pub compressed_len: u32,
pub uncompressed_len: u32,
}Expand description
Per-page statistics enabling file/page-level pruning (analogous to Parquet’s page index, but always present and tighter). Serialized in the run’s column directory.
Fields§
§first_row_id: u64§last_row_id: u64§null_count: u64§row_count: u32§min: Option<Vec<u8>>§max: Option<Vec<u8>>§offset: u64Absolute offset of the (possibly encrypted + compressed) page payload.
compressed_len: u32§uncompressed_len: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for PageStat
impl<'de> Deserialize<'de> for PageStat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PageStat
impl RefUnwindSafe for PageStat
impl Send for PageStat
impl Sync for PageStat
impl Unpin for PageStat
impl UnsafeUnpin for PageStat
impl UnwindSafe for PageStat
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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>
Converts
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>
Converts
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