parquet::file::page_index::index_reader

Function read_columns_indexes

Source
pub fn read_columns_indexes<R: ChunkReader>(
    reader: &R,
    chunks: &[ColumnChunkMetaData],
) -> Result<Vec<Index>, ParquetError>
Expand description

Reads per-column Index for all columns of a row group by decoding ColumnIndex .

Returns a vector of index[column_number].

Returns an empty vector if this row group does not contain a ColumnIndex.

See Page Index Documentation for more details.