pub struct RowGroupMetaData { /* private fields */ }
Expand description
Metadata for a row group.
Implementations§
Source§impl RowGroupMetaData
impl RowGroupMetaData
Sourcepub fn builder(schema_descr: SchemaDescPtr) -> RowGroupMetaDataBuilder
pub fn builder(schema_descr: SchemaDescPtr) -> RowGroupMetaDataBuilder
Returns builder for row group metadata.
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 i
th column.
Sourcepub fn columns(&self) -> &[ColumnChunkMetaData]
pub fn columns(&self) -> &[ColumnChunkMetaData]
Returns slice of column chunk metadata.
Sourcepub fn sorting_columns(&self) -> Option<&Vec<SortingColumn>>
pub fn sorting_columns(&self) -> Option<&Vec<SortingColumn>>
Returns the sort ordering of the rows in this RowGroup if any
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 schema_descr(&self) -> &SchemaDescriptor
pub fn schema_descr(&self) -> &SchemaDescriptor
Returns reference to a schema descriptor.
Sourcepub fn schema_descr_ptr(&self) -> SchemaDescPtr
pub fn schema_descr_ptr(&self) -> SchemaDescPtr
Returns reference counted clone of schema descriptor.
Sourcepub fn file_offset(&self) -> Option<i64>
pub fn file_offset(&self) -> Option<i64>
Returns file offset of this row group in file.
Sourcepub fn from_thrift(
schema_descr: SchemaDescPtr,
rg: RowGroup,
) -> Result<RowGroupMetaData>
pub fn from_thrift( schema_descr: SchemaDescPtr, rg: RowGroup, ) -> Result<RowGroupMetaData>
Method to convert from Thrift.
Sourcepub fn into_builder(self) -> RowGroupMetaDataBuilder
pub fn into_builder(self) -> RowGroupMetaDataBuilder
Converts this RowGroupMetaData
into a RowGroupMetaDataBuilder
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 moreSource§impl Debug for RowGroupMetaData
impl Debug for RowGroupMetaData
Source§impl PartialEq for RowGroupMetaData
impl PartialEq for RowGroupMetaData
impl StructuralPartialEq for RowGroupMetaData
Auto 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
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
)