|
tinySQL
0.1
A self-contained database management system
|
The storage detail of a leaf node of b-plus tree. More...
#include <bpTree_block.h>


Public Member Functions | |
| void | init (blockId_t myBId, blockId_t parentId, blockId_t next_block_id) |
| db_size_t | leaf_biSearch (const key_t key) |
Public Member Functions inherited from bpTree_Block | |
| void | init (blockId_t myBId, blockId_t parentId) |
| bool | isLeaf () const |
Public Attributes | |
| MAPPING_T | _k_rowid_pair [MAX_LEAF_SIZE+1] |
| One extra space for spanning. | |
Public Attributes inherited from bpTree_Block | |
| blockType_t | _blockType |
| blockId_t | _parent_block_id |
| blockId_t | _block_id |
| db_size_t | _size |
| db_size_t | _max_size |
| blockId_t | _next_block_id |
The storage detail of a leaf node of b-plus tree.
Definition at line 70 of file bpTree_block.h.
|
inline |
Init a leaf node.
| myBId | block id for this node |
| parentId | block id for its parent |
| next_block_id | (right) sibling block id |
Definition at line 77 of file bpTree_block.h.

|
inline |
The smallest key that is greater or equal to the given key. If the given key is greater than all the key, return the position after the last element.
| key | The given key |
Definition at line 92 of file bpTree_block.h.
1.8.17