|
|
| RowGroupSegmentTree (RowGroupCollection &collection, idx_t base_row_id) |
| |
|
void | Initialize (PersistentTableData &data, optional_ptr< vector< MetaBlockPointer > > read_pointers=nullptr) |
| |
| MetaBlockPointer | GetRootPointer () const |
| |
| | SegmentTree (idx_t base_row_id=0) |
| |
| SegmentLock | Lock () const |
| |
| bool | IsEmpty (SegmentLock &l) const |
| |
| optional_ptr< SegmentNode< RowGroup > > | GetRootSegment () const |
| | Gets a pointer to the first segment. Useful for scans.
|
| |
| optional_ptr< SegmentNode< RowGroup > > | GetRootSegment (SegmentLock &l) const |
| |
| vector< unique_ptr< SegmentNode< RowGroup > > > | MoveSegments (SegmentLock &l) |
| | Obtains ownership of the data of the segment tree.
|
| |
| vector< unique_ptr< SegmentNode< RowGroup > > > | MoveSegments () |
| |
| vector< unique_ptr< SegmentNode< RowGroup > > > & | ReferenceLoadedSegmentsMutable (SegmentLock &l) |
| |
| idx_t | GetSegmentCount () const |
| |
| idx_t | GetSegmentCount (SegmentLock &l) const |
| |
| optional_ptr< SegmentNode< RowGroup > > | GetSegmentByIndex (int64_t index) const |
| | Gets a pointer to the nth segment. Negative numbers start from the back.
|
| |
| optional_ptr< SegmentNode< RowGroup > > | GetSegmentByIndex (SegmentLock &l, int64_t index) const |
| |
| optional_ptr< SegmentNode< RowGroup > > | GetNextSegment (SegmentNode< RowGroup > &node) const |
| | Gets the next segment.
|
| |
| optional_ptr< SegmentNode< RowGroup > > | GetNextSegment (SegmentLock &l, SegmentNode< RowGroup > &node) const |
| |
| optional_ptr< SegmentNode< RowGroup > > | GetLastSegment (SegmentLock &l) const |
| | Gets a pointer to the last segment. Useful for appends.
|
| |
| optional_ptr< SegmentNode< RowGroup > > | GetSegment (idx_t row_number) const |
| | Gets a pointer to a specific column segment for the given row.
|
| |
| optional_ptr< SegmentNode< RowGroup > > | GetSegment (SegmentLock &l, idx_t row_number) const |
| |
| void | AppendSegment (shared_ptr< RowGroup > segment) |
| |
| void | AppendSegment (SegmentLock &l, shared_ptr< RowGroup > segment) |
| |
| void | AppendSegment (SegmentLock &l, shared_ptr< RowGroup > segment, idx_t row_start) |
| |
| bool | HasSegment (SegmentNode< RowGroup > &segment) const |
| | Debug method, check whether the segment is in the segment tree.
|
| |
| bool | HasSegment (SegmentLock &, SegmentNode< RowGroup > &segment) const |
| |
| void | EraseSegments (SegmentLock &l, idx_t segment_start) |
| | Erase all segments after a specific segment.
|
| |
| idx_t | GetSegmentIndex (SegmentLock &l, idx_t row_number) const |
| | Get the segment index of the column segment for the given row.
|
| |
| bool | TryGetSegmentIndex (SegmentLock &l, idx_t row_number, idx_t &result) const |
| |
| void | Verify (SegmentLock &) const |
| |
| void | Verify () |
| |
| idx_t | GetBaseRowId () const |
| |
| SegmentIterationHelper | Segments () const |
| |
| SegmentIterationHelper | Segments (SegmentLock &l) const |
| |
| SegmentNodeIterationHelper | SegmentNodes () const |
| |
| SegmentNodeIterationHelper | SegmentNodes (SegmentLock &l) const |
| |