pub struct ProjectionMask { /* private fields */ }
Expand description
Specifies which column indices to project from an ORC type.
Implementations§
Source§impl ProjectionMask
impl ProjectionMask
Sourcepub fn roots(
root_data_type: &RootDataType,
indices: impl IntoIterator<Item = usize>,
) -> Self
pub fn roots( root_data_type: &RootDataType, indices: impl IntoIterator<Item = usize>, ) -> Self
Project only specific columns from the root type by column index.
Sourcepub fn named_roots<T>(root_data_type: &RootDataType, names: &[T]) -> Self
pub fn named_roots<T>(root_data_type: &RootDataType, names: &[T]) -> Self
Project only specific columns from the root type by column name.
Sourcepub fn is_index_projected(&self, index: usize) -> bool
pub fn is_index_projected(&self, index: usize) -> bool
Check if ORC column should is projected or not, by index.
Trait Implementations§
Source§impl Clone for ProjectionMask
impl Clone for ProjectionMask
Source§fn clone(&self) -> ProjectionMask
fn clone(&self) -> ProjectionMask
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 ProjectionMask
impl RefUnwindSafe for ProjectionMask
impl Send for ProjectionMask
impl Sync for ProjectionMask
impl Unpin for ProjectionMask
impl UnwindSafe for ProjectionMask
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