pub struct PageMetadata {
pub num_rows: Option<usize>,
pub num_levels: Option<usize>,
pub is_dict: bool,
}
Expand description
Contains metadata for a page
Fields§
§num_rows: Option<usize>
The number of rows within the page if known
num_levels: Option<usize>
The number of levels within the page if known
is_dict: bool
Returns true if the page is a dictionary page
Trait Implementations§
Source§impl Clone for PageMetadata
impl Clone for PageMetadata
Source§fn clone(&self) -> PageMetadata
fn clone(&self) -> PageMetadata
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl TryFrom<&PageHeader> for PageMetadata
impl TryFrom<&PageHeader> for PageMetadata
Source§type Error = ParquetError
type Error = ParquetError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for PageMetadata
impl RefUnwindSafe for PageMetadata
impl Send for PageMetadata
impl Sync for PageMetadata
impl Unpin for PageMetadata
impl UnwindSafe for PageMetadata
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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