![]() |
MySQL 9.2.0
Source Code Documentation
|
The node page (also can be called as the index page) contains a list of index_entry_t objects. More...
#include <lob0impl.h>
Public Member Functions | |
void | set_version_0 () |
node_page_t ()=default | |
Default ctor. More... | |
node_page_t (buf_block_t *block, mtr_t *mtr) | |
node_page_t (buf_block_t *block, mtr_t *mtr, dict_index_t *index) | |
node_page_t (mtr_t *mtr, dict_index_t *index) | |
node_page_t (buf_block_t *block) | |
Constructor. More... | |
void | import (trx_id_t trx_id) |
Import the node page or the index page. More... | |
buf_block_t * | alloc (first_page_t &first_page, bool bulk) |
Allocate one node page. More... | |
buf_block_t * | load_x (page_id_t page_id, page_size_t page_size) |
void | dealloc () |
void | set_page_type () |
byte * | nodes_begin () const |
![]() | |
basic_page_t () | |
basic_page_t (buf_block_t *block, mtr_t *mtr) | |
basic_page_t (buf_block_t *block, mtr_t *mtr, dict_index_t *index) | |
void | set_space_id_no_redo (space_id_t space_id) |
Update the space identifier to given value without generating any redo log records. More... | |
page_no_t | get_page_no () const |
Get page number of the current page. More... | |
page_id_t | get_page_id () const |
Get the page id of the current page. More... | |
void | set_next_page (page_no_t page_no, mtr_t *mtr) |
Set the FIL_PAGE_NEXT to the given page number, using the given mini transaction context. More... | |
void | set_next_page (page_no_t page_no) |
Set the FIL_PAGE_NEXT to the given page number. More... | |
void | set_next_page_null () |
Set the FIL_PAGE_NEXT to FIL_NULL. More... | |
page_no_t | get_next_page () |
page_type_t | get_page_type () const |
byte * | frame () const |
flst_node_t * | get_flst_node (const fil_addr_t &addr) |
ulint | max_space_available () |
buf_block_t * | get_block () const noexcept |
Get the underlying buffer block. More... | |
void | set_block (buf_block_t *block) |
void | set_mtr (mtr_t *mtr) |
Static Public Member Functions | |
static ulint | payload () |
static ulint | max_space_available () |
static ulint | node_count () |
Get the number of index entries this page can hold. More... | |
![]() | |
static ulint | payload () |
Static Public Attributes | |
static const ulint | OFFSET_VERSION = FIL_PAGE_DATA |
Version information. More... | |
static const ulint | LOB_PAGE_DATA = OFFSET_VERSION + 1 |
Additional Inherited Members | |
![]() | |
buf_block_t * | m_block {nullptr} |
mtr_t * | m_mtr {nullptr} |
dict_index_t * | m_index {nullptr} |
The node page (also can be called as the index page) contains a list of index_entry_t objects.
|
default |
Default ctor.
|
inline |
|
inline |
|
inline |
|
inline |
Constructor.
[in] | block | the buffer block. |
buf_block_t * lob::node_page_t::alloc | ( | first_page_t & | first_page, |
bool | bulk | ||
) |
Allocate one node page.
|
inline |
void lob::node_page_t::import | ( | trx_id_t | trx_id | ) |
Import the node page or the index page.
[in] | trx_id | transaction identifier. |
|
inline |
|
inlinestatic |
|
static |
Get the number of index entries this page can hold.
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
static |
|
static |
Version information.
One byte.