|
MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
internal page of bplus tree 更多...
#include <bplus_tree.h>
Public 属性 | |
| char | array [0] |
Public 属性 继承自 IndexNode | |
| bool | is_leaf |
| int | key_num |
| 当前是叶子节点还是内部节点 | |
| PageNum | parent |
| 当前页面上一共有多少个键值对 | |
静态 Public 属性 | |
| static constexpr int | HEADER_SIZE = IndexNode::HEADER_SIZE |
静态 Public 属性 继承自 IndexNode | |
| static constexpr int | HEADER_SIZE = 12 |
internal page of bplus tree
the first key is ignored(key0). so it will waste space, can you fix this?
| char InternalIndexNode::array[0] |
internal node just store order -1 keys and order rids, the last rid is last right child.