Expand description
Structs for partition ranges.
Structsยง
- File
Range Builder - Builder to create file ranges.
- MemRange
Builder ๐ - Builder to create mem ranges.
- Range
Meta ๐ - 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.
- RowGroup
Index - Index to access a row group.
- Source
Index ๐ - Index and metadata for a memtable or file.
Constantsยง
- ALL_
ROW_ ๐GROUPS
Functionsยง
- compare_
time_ ๐ranges - group_
ranges_ ๐for_ seq_ scan - Groups ranges so that all versions of a (primary key, timestamp) pair stay together for deduplication. Ranges with disjoint time or primary key ranges can be scanned independently. An unknown primary key range can match any key. 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
rangeslist is created by group_ranges_for_seq_scan(). - merge_
ranges ๐ - Appends the smaller range to the larger one, so each index is copied O(log n) times over all merges of a scan.