Struct parquet2::metadata::RowGroupMetaData
source · pub struct RowGroupMetaData { /* private fields */ }
Expand description
Metadata for a row group.
Implementations§
source§impl RowGroupMetaData
impl RowGroupMetaData
sourcepub fn new(
columns: Vec<ColumnChunkMetaData>,
num_rows: usize,
total_byte_size: usize
) -> RowGroupMetaData
pub fn new( columns: Vec<ColumnChunkMetaData>, num_rows: usize, total_byte_size: usize ) -> RowGroupMetaData
Create a new RowGroupMetaData
sourcepub fn columns(&self) -> &[ColumnChunkMetaData]
pub fn columns(&self) -> &[ColumnChunkMetaData]
Returns slice of column chunk metadata.
sourcepub fn total_byte_size(&self) -> usize
pub fn total_byte_size(&self) -> usize
Total byte size of all uncompressed column data in this row group.
sourcepub fn compressed_size(&self) -> usize
pub fn compressed_size(&self) -> usize
Total size of all compressed column data in this row group.
Trait Implementations§
source§impl Clone for RowGroupMetaData
impl Clone for RowGroupMetaData
source§fn clone(&self) -> RowGroupMetaData
fn clone(&self) -> RowGroupMetaData
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 moreAuto Trait Implementations§
impl Freeze for RowGroupMetaData
impl RefUnwindSafe for RowGroupMetaData
impl Send for RowGroupMetaData
impl Sync for RowGroupMetaData
impl Unpin for RowGroupMetaData
impl UnwindSafe for RowGroupMetaData
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