pub enum ColumnIndexMetaData {
NONE,
BOOLEAN(PrimitiveColumnIndex<bool>),
INT32(PrimitiveColumnIndex<i32>),
INT64(PrimitiveColumnIndex<i64>),
INT96(PrimitiveColumnIndex<Int96>),
FLOAT(PrimitiveColumnIndex<f32>),
DOUBLE(PrimitiveColumnIndex<f64>),
BYTE_ARRAY(ByteArrayColumnIndex),
FIXED_LEN_BYTE_ARRAY(ByteArrayColumnIndex),
}Expand description
Parsed ColumnIndex information for a Parquet file.
See ParquetColumnIndex for more information.
Variants§
NONE
Sometimes reading page index from parquet file
will only return pageLocations without min_max index,
NONE represents this lack of index information
BOOLEAN(PrimitiveColumnIndex<bool>)
Boolean type index
INT32(PrimitiveColumnIndex<i32>)
32-bit integer type index
INT64(PrimitiveColumnIndex<i64>)
64-bit integer type index
INT96(PrimitiveColumnIndex<Int96>)
96-bit integer type (timestamp) index
FLOAT(PrimitiveColumnIndex<f32>)
32-bit floating point type index
DOUBLE(PrimitiveColumnIndex<f64>)
64-bit floating point type index
BYTE_ARRAY(ByteArrayColumnIndex)
Byte array type index
FIXED_LEN_BYTE_ARRAY(ByteArrayColumnIndex)
Fixed length byte array type index
Implementations§
Source§impl ColumnIndexMetaData
impl ColumnIndexMetaData
Sourcepub fn get_boundary_order(&self) -> Option<BoundaryOrder>
pub fn get_boundary_order(&self) -> Option<BoundaryOrder>
Get boundary_order of this page index.
Sourcepub fn null_counts(&self) -> Option<&Vec<i64>>
pub fn null_counts(&self) -> Option<&Vec<i64>>
Returns array of null counts, one per page.
Returns None if now null counts have been set in the index
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 ColumnIndexMetaData
impl Clone for ColumnIndexMetaData
Source§fn clone(&self) -> ColumnIndexMetaData
fn clone(&self) -> ColumnIndexMetaData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more