pub struct ByteArrayColumnIndex { /* private fields */ }Expand description
Column index for byte arrays (fixed length and variable)
Implementations§
Source§impl ByteArrayColumnIndex
impl ByteArrayColumnIndex
Sourcepub fn min_value(&self, idx: usize) -> Option<&[u8]>
pub fn min_value(&self, idx: usize) -> Option<&[u8]>
Returns the min value for the page indexed by idx
It is None when all values are null
Sourcepub fn max_value(&self, idx: usize) -> Option<&[u8]>
pub fn max_value(&self, idx: usize) -> Option<&[u8]>
Returns the max value for the page indexed by idx
It is None when all values are null
Sourcepub fn min_values_iter(&self) -> impl Iterator<Item = Option<&[u8]>>
pub fn min_values_iter(&self) -> impl Iterator<Item = Option<&[u8]>>
Returns an iterator over the min values.
Values may be None when ColumnIndex::is_null_page() is true.
Sourcepub fn max_values_iter(&self) -> impl Iterator<Item = Option<&[u8]>>
pub fn max_values_iter(&self) -> impl Iterator<Item = Option<&[u8]>>
Returns an iterator over the max values.
Values may be None when ColumnIndex::is_null_page() is true.
Methods from Deref<Target = ColumnIndex>§
Sourcepub fn null_count(&self, idx: usize) -> Option<i64>
pub fn null_count(&self, idx: usize) -> Option<i64>
Returns the number of null values in the page indexed by idx
Returns None if no null counts have been set in the index
Sourcepub fn repetition_level_histogram(&self, idx: usize) -> Option<&[i64]>
pub fn repetition_level_histogram(&self, idx: usize) -> Option<&[i64]>
Returns the repetition level histogram for the page indexed by idx
Sourcepub fn definition_level_histogram(&self, idx: usize) -> Option<&[i64]>
pub fn definition_level_histogram(&self, idx: usize) -> Option<&[i64]>
Returns the definition level histogram for the page indexed by idx
Sourcepub fn is_null_page(&self, idx: usize) -> bool
pub fn is_null_page(&self, idx: usize) -> bool
Returns whether the page indexed by idx consists of all null values
Trait Implementations§
Source§impl Clone for ByteArrayColumnIndex
impl Clone for ByteArrayColumnIndex
Source§fn clone(&self) -> ByteArrayColumnIndex
fn clone(&self) -> ByteArrayColumnIndex
Returns a duplicate 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 ByteArrayColumnIndex
impl Debug for ByteArrayColumnIndex
Source§impl Deref for ByteArrayColumnIndex
impl Deref for ByteArrayColumnIndex
Source§impl PartialEq for ByteArrayColumnIndex
impl PartialEq for ByteArrayColumnIndex
impl StructuralPartialEq for ByteArrayColumnIndex
Auto Trait Implementations§
impl Freeze for ByteArrayColumnIndex
impl RefUnwindSafe for ByteArrayColumnIndex
impl Send for ByteArrayColumnIndex
impl Sync for ByteArrayColumnIndex
impl Unpin for ByteArrayColumnIndex
impl UnwindSafe for ByteArrayColumnIndex
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