Module range

Source
Expand description

Structs for partition ranges.

Structsยง

FileRangeBuilder ๐Ÿ”’
Builder to create file ranges.
MemRangeBuilder ๐Ÿ”’
Builder to create mem ranges.
RangeBuilderList ๐Ÿ”’
List to manages the builders to create file ranges. Each scan partition should have its own list. Mutex inside this list is used to allow moving the list to different streams in the same partition.
RangeMeta ๐Ÿ”’
Meta data of a partition range. If the scanner is [UnorderedScan], each meta only has one row group or memtable. If the scanner is [SeqScan], each meta may have multiple row groups and memtables.
RowGroupIndex ๐Ÿ”’
Index to access a row group.
SourceIndex ๐Ÿ”’
Index and metadata for a memtable or file.

Constantsยง

ALL_ROW_GROUPS ๐Ÿ”’

Functionsยง

group_ranges_for_seq_scan ๐Ÿ”’
Groups ranges by time range. It assumes each input range only contains a file or a memtable.
maybe_split_ranges_for_seq_scan ๐Ÿ”’
Splits the range into multiple smaller ranges. It assumes the input ranges list is created by group_ranges_for_seq_scan().