MySQL 8.2.0
Source Code Documentation
lob::basic_page_t Struct Reference

#include <lob0util.h>

Inheritance diagram for lob::basic_page_t:
[legend]

Public Member Functions

 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
 
byteframe () const
 
flst_node_tget_flst_node (const fil_addr_t &addr)
 
ulint max_space_available ()
 
buf_block_tget_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 ()
 

Protected Attributes

buf_block_tm_block
 
mtr_tm_mtr
 
dict_index_tm_index
 

Constructor & Destructor Documentation

◆ basic_page_t() [1/3]

lob::basic_page_t::basic_page_t ( )
inline

◆ basic_page_t() [2/3]

lob::basic_page_t::basic_page_t ( buf_block_t block,
mtr_t mtr 
)
inline

◆ basic_page_t() [3/3]

lob::basic_page_t::basic_page_t ( buf_block_t block,
mtr_t mtr,
dict_index_t index 
)
inline

Member Function Documentation

◆ frame()

byte * lob::basic_page_t::frame ( ) const
inline

◆ get_block()

buf_block_t * lob::basic_page_t::get_block ( ) const
inlinenoexcept

Get the underlying buffer block.

Returns
the buffer block.

◆ get_flst_node()

flst_node_t * lob::basic_page_t::get_flst_node ( const fil_addr_t addr)
inline

◆ get_next_page()

page_no_t lob::basic_page_t::get_next_page ( )
inline

◆ get_page_id()

page_id_t lob::basic_page_t::get_page_id ( ) const
inline

Get the page id of the current page.

Returns
the page id of current page.

◆ get_page_no()

page_no_t lob::basic_page_t::get_page_no ( ) const
inline

Get page number of the current page.

Returns
the page number of the current page.

◆ get_page_type()

page_type_t lob::basic_page_t::get_page_type ( ) const
inline

◆ max_space_available()

ulint lob::basic_page_t::max_space_available ( )

◆ payload()

static ulint lob::basic_page_t::payload ( )
static

◆ set_block()

void lob::basic_page_t::set_block ( buf_block_t block)
inline

◆ set_mtr()

void lob::basic_page_t::set_mtr ( mtr_t mtr)
inline

◆ set_next_page() [1/2]

void lob::basic_page_t::set_next_page ( page_no_t  page_no)
inline

Set the FIL_PAGE_NEXT to the given page number.

Parameters
[in]page_noThe page number to set.

◆ set_next_page() [2/2]

void lob::basic_page_t::set_next_page ( page_no_t  page_no,
mtr_t mtr 
)
inline

Set the FIL_PAGE_NEXT to the given page number, using the given mini transaction context.

Parameters
[in]page_noThe page number to set.
[in]mtrThe mini-transaction context.

◆ set_next_page_null()

void lob::basic_page_t::set_next_page_null ( )
inline

Set the FIL_PAGE_NEXT to FIL_NULL.

◆ set_space_id_no_redo()

void lob::basic_page_t::set_space_id_no_redo ( space_id_t  space_id)
inline

Update the space identifier to given value without generating any redo log records.

Parameters
[in]space_idthe space identifier.

Member Data Documentation

◆ m_block

buf_block_t* lob::basic_page_t::m_block
protected

◆ m_index

dict_index_t* lob::basic_page_t::m_index
protected

◆ m_mtr

mtr_t* lob::basic_page_t::m_mtr
protected

The documentation for this struct was generated from the following file: