Skip to main content

Module row_selection

Module row_selection 

Source

Structsยง

RowGroupSelection
A selection of row groups.
RowSelectionWithCount ๐Ÿ”’
A row selection with its count.

Functionsยง

add_or_merge_selector ๐Ÿ”’
Helper function to either add a new RowSelector to selectors or merge it with the last one if they are of the same type (both skip or both select).
build_selectors_from_row_ranges ๐Ÿ”’
intersect_row_selections ๐Ÿ”’
Ported from parquet but trailing rows are removed.
row_selection_from_row_ranges ๐Ÿ”’
Converts an iterator of row ranges into a RowSelection by creating a sequence of RowSelectors.
row_selection_from_row_ranges_exact ๐Ÿ”’
Like row_selection_from_row_ranges but guarantees the resulting selection covers exactly total_row_count rows by appending a trailing skip if needed.
row_selection_from_sorted_row_ids ๐Ÿ”’
Converts an iterator of sorted row IDs into a RowSelection.
selector_len ๐Ÿ”’
Returns the length of the selectors in the selection.