Struct parquet::column::page::PageMetadata
source · 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
§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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)