Struct parquet2::read::PageMetaData
source · pub struct PageMetaData {
pub column_start: u64,
pub num_values: i64,
pub compression: Compression,
pub descriptor: Descriptor,
}
Expand description
This meta is a small part of ColumnChunkMetaData
.
Fields§
§column_start: u64
The start offset of this column chunk in file.
num_values: i64
The number of values in this column chunk.
compression: Compression
Compression type
descriptor: Descriptor
The descriptor of this parquet column
Implementations§
source§impl PageMetaData
impl PageMetaData
sourcepub fn new(
column_start: u64,
num_values: i64,
compression: Compression,
descriptor: Descriptor
) -> Self
pub fn new( column_start: u64, num_values: i64, compression: Compression, descriptor: Descriptor ) -> Self
Returns a new PageMetaData
.
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 Debug for PageMetaData
impl Debug for PageMetaData
source§impl From<&ColumnChunkMetaData> for PageMetaData
impl From<&ColumnChunkMetaData> for PageMetaData
source§fn from(column: &ColumnChunkMetaData) -> Self
fn from(column: &ColumnChunkMetaData) -> Self
Converts to this type from the input type.
source§impl PartialEq for PageMetaData
impl PartialEq for PageMetaData
source§fn eq(&self, other: &PageMetaData) -> bool
fn eq(&self, other: &PageMetaData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PageMetaData
impl StructuralPartialEq for PageMetaData
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