MySQL 8.0.40
Source Code Documentation
lob::z_frag_node_page_t Struct Reference

A frag nodes page containing an array of z_frag_entry_t objects. More...

#include <lob0impl.h>

Public Member Functions

 z_frag_node_page_t (mtr_t *mtr, dict_index_t *index)
 
 z_frag_node_page_t (buf_block_t *block)
 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 ()
 Set the correct page type. More...
 
void set_next_page_no (page_no_t page_no)
 Set the next page number. More...
 
void set_version_0 ()
 
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_talloc (z_first_page_t &first, bool bulk)
 Allocate a fragment nodes page. More...
 
void dealloc ()
 
buf_block_tload_x (page_no_t page_no)
 Load the given compressed LOB fragment page. More...
 
void init (flst_base_node_t *free_lst)
 
ulint payload () const
 
ulint get_n_frag_entries () const
 
byteframe () const
 

Public Attributes

buf_block_tm_block
 The buffer block of the fragment page. More...
 
mtr_tm_mtr
 The mini-transaction context. More...
 
dict_index_tm_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
 

Detailed Description

A frag nodes page containing an array of z_frag_entry_t objects.

Constructor & Destructor Documentation

◆ z_frag_node_page_t() [1/2]

lob::z_frag_node_page_t::z_frag_node_page_t ( mtr_t mtr,
dict_index_t index 
)
inline

◆ z_frag_node_page_t() [2/2]

lob::z_frag_node_page_t::z_frag_node_page_t ( buf_block_t block)
inlineexplicit

Constructor.

Parameters
[in]blockthe buffer block.

Member Function Documentation

◆ alloc()

buf_block_t * lob::z_frag_node_page_t::alloc ( z_first_page_t first,
bool  bulk 
)

Allocate a fragment nodes page.

Returns
buffer block of the allocated fragment nodes page or nullptr.

◆ dealloc()

void lob::z_frag_node_page_t::dealloc ( )
inline

◆ frame()

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

◆ get_n_frag_entries()

ulint lob::z_frag_node_page_t::get_n_frag_entries ( ) const
inline

◆ get_next_page_no()

page_no_t lob::z_frag_node_page_t::get_next_page_no ( ) const
inline

Get the next page number.

◆ get_page_no()

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

Get the page number.

◆ init()

void lob::z_frag_node_page_t::init ( flst_base_node_t free_lst)
inline

◆ load_x()

buf_block_t * lob::z_frag_node_page_t::load_x ( page_no_t  page_no)
inline

Load the given compressed LOB fragment page.

Parameters
[in]page_nocompressed LOB fragment page number.
Returns
the buffer block of the given page number.

◆ payload()

ulint lob::z_frag_node_page_t::payload ( ) const
inline

◆ set_next_page_no()

void lob::z_frag_node_page_t::set_next_page_no ( page_no_t  page_no)
inline

Set the next page number.

◆ set_page_type()

void lob::z_frag_node_page_t::set_page_type ( )
inline

Set the correct page type.

◆ set_space_id_no_redo()

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

Write the space identifier to the page header, without generating redo log records.

Parameters
[in]space_idthe space identifier.

◆ set_version_0()

void lob::z_frag_node_page_t::set_version_0 ( )
inline

Member Data Documentation

◆ LOB_PAGE_DATA

const ulint lob::z_frag_node_page_t::LOB_PAGE_DATA = OFFSET_VERSION + 1
static

◆ m_block

buf_block_t* lob::z_frag_node_page_t::m_block

The buffer block of the fragment page.

◆ m_index

dict_index_t* lob::z_frag_node_page_t::m_index

The index to which the LOB belongs.

◆ m_mtr

mtr_t* lob::z_frag_node_page_t::m_mtr

The mini-transaction context.

◆ OFFSET_VERSION

const ulint lob::z_frag_node_page_t::OFFSET_VERSION = FIL_PAGE_DATA
static

Version information.

One byte.


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