parquet::file::page_index::index_reader

Function acc_range

Source
pub(crate) fn acc_range(
    a: Option<Range<usize>>,
    b: Option<Range<usize>>,
) -> Option<Range<usize>>
Expand description

Computes the covering range of two optional ranges

For example acc_range(Some(7..9), Some(1..3)) = Some(1..9)