MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
leaf page of bplus tree 更多...
#include <bplus_tree.h>
Public 属性 | |
PageNum | next_brother |
char | array [0] |
![]() | |
bool | is_leaf |
int | key_num |
PageNum | parent |
静态 Public 属性 | |
static constexpr int | HEADER_SIZE = IndexNode::HEADER_SIZE + 4 |
![]() | |
static constexpr int | HEADER_SIZE = 12 |
leaf page of bplus tree
the key is in format: the key value of record and rid. so the key in leaf page must be unique. the value is rid. can you implenment a cluster index ?
char LeafIndexNode::array[0] |
leaf can store order keys and rids at most