MySQL 8.4.2
Source Code Documentation
|
An index page containing an array of z_index_entry_t objects. More...
#include <lob0impl.h>
Public Member Functions | |
z_index_page_t (mtr_t *mtr) | |
Constructor. More... | |
z_index_page_t (buf_block_t *block, mtr_t *mtr, dict_index_t *index) | |
Constructor. More... | |
z_index_page_t (mtr_t *mtr, dict_index_t *index) | |
Constructor. More... | |
z_index_page_t (buf_block_t *block) | |
Constructor. More... | |
z_index_page_t (buf_block_t *block, dict_index_t *index) | |
Constructor. More... | |
void | set_space_id_no_redo (space_id_t space_id) |
Write the space identifier to the page header, without generating redo log records. More... | |
void | set_page_type (mtr_t *mtr) |
Set the correct page type. More... | |
void | set_version_0 () |
void | set_next_page_no (page_no_t page_no) |
Set the next page number. More... | |
page_no_t | get_page_no () const |
Get the page number. More... | |
page_no_t | get_next_page_no () const |
Get the next page number. More... | |
buf_block_t * | alloc (z_first_page_t &first, bool bulk) |
Allocate an ZLOB index page. More... | |
void | import (trx_id_t trx_id) |
buf_block_t * | load_x (page_no_t page_no) |
Load the given compressed LOB index page. More... | |
void | dealloc () |
void | init (flst_base_node_t *free_lst, mtr_t *mtr) |
ulint | payload () const |
ulint | get_n_index_entries () const |
byte * | frame () const |
Public Attributes | |
buf_block_t * | m_block |
The buffer block of the compressed LOB index page. More... | |
mtr_t * | m_mtr |
The mini-transaction context. More... | |
dict_index_t * | m_index |
The index to which the LOB belongs. More... | |
Static Public Attributes | |
static const ulint | OFFSET_VERSION = FIL_PAGE_DATA |
Version information. More... | |
static const ulint | LOB_PAGE_DATA = OFFSET_VERSION + 1 |
An index page containing an array of z_index_entry_t objects.
|
inlineexplicit |
Constructor.
[in] | mtr | mini-transaction context. |
|
inline |
Constructor.
[in] | block | the buffer block. |
[in] | mtr | mini-transaction context. |
[in] | index | the index to which the LOB belongs. |
|
inline |
Constructor.
[in] | mtr | mini-transaction context. |
[in] | index | the index to which the LOB belongs. |
|
inlineexplicit |
Constructor.
[in] | block | the buffer block. |
|
inline |
Constructor.
[in] | block | the buffer block. |
[in] | index | the index to which the LOB belongs. |
buf_block_t * lob::z_index_page_t::alloc | ( | z_first_page_t & | first, |
bool | bulk | ||
) |
Allocate an ZLOB index page.
|
inline |
|
inline |
ulint lob::z_index_page_t::get_n_index_entries | ( | ) | const |
|
inline |
Get the next page number.
|
inline |
Get the page number.
void lob::z_index_page_t::import | ( | trx_id_t | trx_id | ) |
void lob::z_index_page_t::init | ( | flst_base_node_t * | free_lst, |
mtr_t * | mtr | ||
) |
|
inline |
Load the given compressed LOB index page.
[in] | page_no | compressed LOB index page number. |
|
inline |
|
inline |
Set the next page number.
|
inline |
Set the correct page type.
|
inline |
Write the space identifier to the page header, without generating redo log records.
[in] | space_id | the space identifier. |
|
inline |
|
static |
buf_block_t* lob::z_index_page_t::m_block |
The buffer block of the compressed LOB index page.
dict_index_t* lob::z_index_page_t::m_index |
The index to which the LOB belongs.
mtr_t* lob::z_index_page_t::m_mtr |
The mini-transaction context.
|
static |
Version information.
One byte.