Struct parquet::file::page_index::index::NativeIndex
source · pub struct NativeIndex<T: ParquetValueType> {
pub indexes: Vec<PageIndex<T>>,
pub boundary_order: BoundaryOrder,
}
Expand description
Strongly typed statistics for data pages in a column chunk.
This structure is a natively typed, in memory representation of the
ColumnIndex
structure in a parquet file footer, as described in the
Parquet PageIndex documentation. The statistics stored in this structure
can be used by query engines to skip decoding pages while reading parquet
data.
§Differences with Row Group Level Statistics
One significant difference between NativeIndex
and row group level
Statistics
is that page level statistics may not store actual column
values as min and max (e.g. they may store truncated strings to save space)
Fields§
§indexes: Vec<PageIndex<T>>
The actual column indexes, one item per page
boundary_order: BoundaryOrder
If the min/max elements are ordered, and if so in which direction. See source for details.
Implementations§
source§impl<T: ParquetValueType> NativeIndex<T>
impl<T: ParquetValueType> NativeIndex<T>
sourcepub const PHYSICAL_TYPE: Type = T::PHYSICAL_TYPE
pub const PHYSICAL_TYPE: Type = T::PHYSICAL_TYPE
The physical data type of the column
Trait Implementations§
source§impl<T: Clone + ParquetValueType> Clone for NativeIndex<T>
impl<T: Clone + ParquetValueType> Clone for NativeIndex<T>
source§fn clone(&self) -> NativeIndex<T>
fn clone(&self) -> NativeIndex<T>
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<T: Debug + ParquetValueType> Debug for NativeIndex<T>
impl<T: Debug + ParquetValueType> Debug for NativeIndex<T>
source§impl<T: Hash + ParquetValueType> Hash for NativeIndex<T>
impl<T: Hash + ParquetValueType> Hash for NativeIndex<T>
source§impl<T: PartialEq + ParquetValueType> PartialEq for NativeIndex<T>
impl<T: PartialEq + ParquetValueType> PartialEq for NativeIndex<T>
impl<T: Eq + ParquetValueType> Eq for NativeIndex<T>
impl<T: ParquetValueType> StructuralPartialEq for NativeIndex<T>
Auto Trait Implementations§
impl<T> Freeze for NativeIndex<T>
impl<T> RefUnwindSafe for NativeIndex<T>where
T: RefUnwindSafe,
impl<T> Send for NativeIndex<T>
impl<T> Sync for NativeIndex<T>where
T: Sync,
impl<T> Unpin for NativeIndex<T>where
T: Unpin,
impl<T> UnwindSafe for NativeIndex<T>where
T: UnwindSafe,
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)