|
tinySQL
0.1
A self-contained database management system
|
The storage detail of the header of each page in index files. More...
#include <bpTree_block.h>

Public Member Functions | |
| void | init (blockId_t myBId, blockId_t parentId) |
| bool | isLeaf () const |
Public Attributes | |
| 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 the header of each page in index files.
Both internal and leaf blocks are inherited from this.
It actually serves as a header part for each B+ tree page and contains information shared by both leaf block and internal block.
Definition at line 39 of file bpTree_block.h.
|
inline |
Init a block, neither leaf nor internal node. Usually occurs when a table exists but has no content
| myBId | |
| parentId |
Definition at line 46 of file bpTree_block.h.

1.8.17