pub struct RowGroupSelection {
pub(crate) row_group_index: usize,
pub(crate) selection: Option<RowSelection>,
}Expand description
A row group and its optional row-group-local RowSelection.
A row-group-local selection is relative to the rows in this row group. For example, an offset of 100 refers to the row at offset 100 within the row group, not within the Parquet file.
A None selection reads the entire row group. Omitting a row group skips
it. Entries are decoded in the supplied order.
Fields§
§row_group_index: usize§selection: Option<RowSelection>Implementations§
Source§impl RowGroupSelection
impl RowGroupSelection
Sourcepub fn new(row_group_index: usize, selection: Option<RowSelection>) -> Self
pub fn new(row_group_index: usize, selection: Option<RowSelection>) -> Self
Creates a row-group-local selection.
Sourcepub fn row_group_index(&self) -> usize
pub fn row_group_index(&self) -> usize
The index of the row group this selection applies to.
Sourcepub fn selection(&self) -> Option<&RowSelection>
pub fn selection(&self) -> Option<&RowSelection>
The row-group-local selection, or None if the entire row group is
read.
Trait Implementations§
Source§impl Clone for RowGroupSelection
impl Clone for RowGroupSelection
Source§fn clone(&self) -> RowGroupSelection
fn clone(&self) -> RowGroupSelection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RowGroupSelection
impl Debug for RowGroupSelection
impl Eq for RowGroupSelection
Source§impl PartialEq for RowGroupSelection
impl PartialEq for RowGroupSelection
impl StructuralPartialEq for RowGroupSelection
Auto Trait Implementations§
impl Freeze for RowGroupSelection
impl RefUnwindSafe for RowGroupSelection
impl Send for RowGroupSelection
impl Sync for RowGroupSelection
impl Unpin for RowGroupSelection
impl UnsafeUnpin for RowGroupSelection
impl UnwindSafe for RowGroupSelection
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.