pub struct RowGroupMetaData { /* private fields */ }This is supported on crate feature
io_parquet only.Expand description
Metadata for a row group.
Implementations
sourceimpl RowGroupMetaData
impl RowGroupMetaData
sourcepub fn new(
columns: Vec<ColumnChunkMetaData, Global>,
num_rows: i64,
total_byte_size: i64
) -> RowGroupMetaData
pub fn new(
columns: Vec<ColumnChunkMetaData, Global>,
num_rows: i64,
total_byte_size: i64
) -> RowGroupMetaData
Create a new RowGroupMetaData
sourcepub fn num_columns(&self) -> usize
pub fn num_columns(&self) -> usize
Number of columns in this row group.
sourcepub fn column(&self, i: usize) -> &ColumnChunkMetaData
pub fn column(&self, i: usize) -> &ColumnChunkMetaData
Returns column chunk metadata for ith column.
sourcepub fn columns(&self) -> &[ColumnChunkMetaData]
pub fn columns(&self) -> &[ColumnChunkMetaData]
Returns slice of column chunk metadata.
sourcepub fn total_byte_size(&self) -> i64
pub fn total_byte_size(&self) -> i64
Total byte size of all uncompressed column data in this row group.
sourcepub fn compressed_size(&self) -> i64
pub fn compressed_size(&self) -> i64
Total size of all compressed column data in this row group.
sourcepub fn try_from_thrift(
schema_descr: &SchemaDescriptor,
rg: RowGroup
) -> Result<RowGroupMetaData, ParquetError>
pub fn try_from_thrift(
schema_descr: &SchemaDescriptor,
rg: RowGroup
) -> Result<RowGroupMetaData, ParquetError>
Method to convert from Thrift.
sourcepub fn into_thrift(self) -> RowGroup
pub fn into_thrift(self) -> RowGroup
Method to convert to Thrift.
Trait Implementations
sourceimpl Clone for RowGroupMetaData
impl Clone for RowGroupMetaData
sourcefn clone(&self) -> RowGroupMetaData
fn clone(&self) -> RowGroupMetaData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for RowGroupMetaData
impl Send for RowGroupMetaData
impl Sync for RowGroupMetaData
impl Unpin for RowGroupMetaData
impl UnwindSafe for RowGroupMetaData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more