pub struct RowGroupMetadata { /* private fields */ }
Expand description
Metadata for a row group.
Implementations§
Source§impl RowGroupMetadata
impl RowGroupMetadata
pub fn n_columns(&self) -> usize
Sourcepub fn columns_under_root_iter(
&self,
root_name: &str,
) -> Option<impl ExactSizeIterator<Item = &ColumnChunkMetadata> + DoubleEndedIterator>
pub fn columns_under_root_iter( &self, root_name: &str, ) -> Option<impl ExactSizeIterator<Item = &ColumnChunkMetadata> + DoubleEndedIterator>
Fetch all columns under this root name if it exists.
Sourcepub fn columns_idxs_under_root_iter<'a>(
&'a self,
root_name: &str,
) -> Option<&'a [usize]>
pub fn columns_idxs_under_root_iter<'a>( &'a self, root_name: &str, ) -> Option<&'a [usize]>
Fetch all columns under this root name if it exists.
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.
pub fn full_byte_range(&self) -> Range<u64>
pub fn byte_ranges_iter(&self) -> impl '_ + ExactSizeIterator<Item = Range<u64>>
pub fn sorting_columns(&self) -> Option<&[SortingColumn]>
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 Default for RowGroupMetadata
impl Default for RowGroupMetadata
Source§fn default() -> RowGroupMetadata
fn default() -> RowGroupMetadata
Returns the “default value” for a type. Read more
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
)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more