|
|
static void | New (Node &node, const row_t row_id) |
| | Inline a row ID into a node pointer.
|
| |
|
static void | MergeInlined (ArenaAllocator &arena, ART &art, Node &left, Node &right, GateStatus status, idx_t depth) |
| | Merge two inlined leaf nodes.
|
| |
|
static void | TransformToNested (ART &art, Node &node) |
| | Transforms a deprecated leaf to a nested leaf.
|
| |
|
static void | TransformToDeprecated (ART &art, Node &node) |
| | Transforms a nested leaf to a deprecated leaf.
|
| |
|
static void | DeprecatedFree (ART &art, Node &node) |
| | Frees the linked list of leaves.
|
| |
| static bool | DeprecatedGetRowIds (ART &art, const Node &node, set< row_t > &row_ids, const idx_t max_count) |
| |
|
static void | DeprecatedVacuum (ART &art, Node &node) |
| | Vacuums the linked list of leaves.
|
| |
|
static void | DeprecatedVerify (ART &art, const Node &node) |
| | Traverses and verifies the linked list of leaves.
|
| |
| static string | DeprecatedToString (ART &art, const Node &node, const ToStringOptions &options) |
| |
There are three types of leaves.
- LEAF_INLINED: Inlines a row ID in a Node pointer.
- LEAF: Deprecated. A list of Leaf nodes containing row IDs.
- Nested leaves indicated by gate nodes. If an ART key contains multiple row IDs, then we use the row IDs as keys and create a nested ART behind the gate node. As row IDs are always unique, these nested ARTs never contain duplicates themselves.