Function parquet::file::page_index::index_reader::read_pages_locations

source ยท
pub fn read_pages_locations<R: ChunkReader>(
    reader: &R,
    chunks: &[ColumnChunkMetaData],
) -> Result<Vec<Vec<PageLocation>>, ParquetError>
๐Ÿ‘ŽDeprecated since 53.0.0: Use read_offset_indexes
Expand description

Reads OffsetIndex, per-page PageLocation for all columns of a row group.

Returns a vector of location[column_number][page_number]

Return an empty vector if this row group does not contain an [OffsetIndex].

See Page Index Documentation for more details.