Expand description
ScanPlan: the byte ranges that a push decoder may still read.
ModulesΒ§
- budget π
- Offset/limit budget shared across the row groups of a scan.
- frontier π
- Which row groups a scan reads next, with their selections and budget.
StructsΒ§
- Planned
Range - One item of a
ScanPlan. - Planner π
- The state of a
ScanPlanthat is not empty. - RowGroup
Context π - What the ranges of one row group are computed from.
- RowGroup
Ranges π - The planned ranges of one row group, in decode order.
- Scan
Plan - The byte ranges that a push decoder may still read, in the order that decoding needs them.
- Scan
Plan πBuilder - Builds a
ScanPlanfrom a decoderβs row-group frontier and the columns each decoding stage reads. - Selected
Rows π - Counts the selected rows before a position in a row group.
- Stage
Columns π - The decoderβs batch size and decoding stages.
- Stage
Plan π - The columns that one decoding stage of a row group reads first.
- Stage
Ranges π - The merge state of one stage.
EnumsΒ§
- Page
Kind - What a
PlannedRangecontains. - PageSet π
- The data pages of a column chunk that the decoder reads, in page order.
ConstantsΒ§
- CHUNK π
- The next range is the whole column chunk. The column has no offset index.
- DICTIONARY π
- The next range is the dictionary page.
FunctionsΒ§
- position π
- Converts a column or page position to a heap entry field.
Type AliasesΒ§
- Head
Position π - Which range of a column chunk is next:
CHUNK,DICTIONARY, or the position of a data page in the pages that the decoder reads. - Heap
Entry π - A heap entry: the sort key of the next range of a cursor, the position
of the column in
StageRanges::columns, and theHeadPositionof that range. The column position breaks ties, so ranges with equal keys stay in file order of their columns. - Range
Order π - How the heap orders the next ranges of different column chunks: by first row, then more rows first (a dictionary page), then by file offset. The ranges of one column chunk keep file order, also a page with no planned rows that the predicate cache reads.