Skip to main content

Module ranges

Module ranges 

Source
Expand description

Mapping the RowSelector runs of a selection onto ranges: the byte ranges of the data pages that must be fetched (RowSelection::scan_ranges) and the expansion of a selection to batch boundaries.

Both are shared by the selector and mask backings, which stream their runs from a slice and a MaskRunIter respectively.

Functionsยง

expand_to_batch_boundaries_from_selectors ๐Ÿ”’
Grows each selected run to the batch boundaries containing it, merging the runs that overlap as a result.
scan_ranges_from_selectors ๐Ÿ”’
Byte ranges of the data pages containing at least one selected row.