The B-Tree page header for both internal pages and the leaf pages.
More...
#include <index/btree/BTreeInternal.h>
The B-Tree page header for both internal pages and the leaf pages.
◆ Initialize()
void taco::BTreePageHeaderData::Initialize |
( |
char * |
pagebuf, |
|
|
uint16_t |
flags, |
|
|
PageNumber |
prev_pid, |
|
|
PageNumber |
next_pid |
|
) |
| |
|
static |
Initializes the B-tree internal/leaf page as a data page, and then initializes the BTreePageHeaderData (as its user data area).
◆ IsLeafPage()
constexpr bool taco::BTreePageHeaderData::IsLeafPage |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsRootPage()
constexpr bool taco::BTreePageHeaderData::IsRootPage |
( |
| ) |
const |
|
inlineconstexpr |
◆ m_flags
uint16_t taco::BTreePageHeaderData::m_flags |
Flags, see BTREE_PAGE_xxx above.
◆ m_next_pid
The next page's page number on this level, or INVALID_PID if this page is the last page on this level.
◆ m_prev_pid
The previous page's page number on this level, or INVALID_PID if this page is the first page on this level.
◆ m_reserved
uint32_t taco::BTreePageHeaderData::m_reserved |
◆ m_totrlen
The total length of index records on this page.
This is used for estimating when the page is half full.
The documentation for this struct was generated from the following files: