MySQL 9.1.0
Source Code Documentation
lob::bulk::data_page_t Struct Reference

#include <lob0bulk.h>

Inheritance diagram for lob::bulk::data_page_t:
[legend]

Public Member Functions

void set_page_type ()
 
void set_version_0 ()
 
void set_next_page_null ()
 
void init (Btree_multi::Page_load *data_page)
 
void set_data_len (ulint len)
 Set the length of data stored in bytes. More...
 
void incr_data_len (ulint len)
 Increment the length of data stored in bytes. More...
 
- Public Member Functions inherited from lob::data_page_t
 data_page_t ()=default
 
 data_page_t (buf_block_t *block, mtr_t *mtr)
 Constructor. More...
 
 data_page_t (buf_block_t *block, mtr_t *mtr, dict_index_t *index)
 
 data_page_t (mtr_t *mtr, dict_index_t *index)
 
 data_page_t (buf_block_t *block)
 Constructor. More...
 
buf_block_talloc (mtr_t *alloc_mtr, bool is_bulk)
 Allocate a LOB data page. More...
 
buf_block_tload_x (page_no_t page_no)
 
void set_version_0 ()
 
void dealloc ()
 
void set_page_type ()
 
void set_trx_id (trx_id_t id)
 
void set_trx_id_no_redo (trx_id_t id)
 Write the trx identifier to the header, without generating redo log. More...
 
bytedata_begin () const
 
buf_block_treplace (trx_t *trx, ulint offset, const byte *&ptr, ulint &want, mtr_t *mtr)
 Create a new data page and replace some or all parts of the old data with data. More...
 
void replace_inline (ulint offset, const byte *&ptr, ulint &want, mtr_t *mtr)
 Replace some or all parts of the data inline. More...
 
ulint get_data_len () const
 
void set_data_len (ulint len)
 
ulint read (ulint offset, byte *ptr, ulint want)
 Read data from the data page. More...
 
ulint write (const byte *&data, ulint &len)
 Write data into a data page. More...
 
ulint append (trx_id_t trxid, byte *&data, ulint &len)
 Append given data in data page. More...
 
std::pair< ulint, byte * > insert_middle (trx_t *trx, ulint offset, byte *&data, ulint &len, buf_block_t *&new_block)
 
buf_block_tremove_middle (trx_t *trx, ulint offset, ulint &len)
 
ulint max_space_available () const
 
ulint space_left () const
 
- Public Member Functions inherited from lob::basic_page_t
 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)
 

Public Attributes

Btree_multi::Page_loadm_page_load {nullptr}
 

Additional Inherited Members

- Static Public Member Functions inherited from lob::data_page_t
static ulint payload ()
 
- Static Public Member Functions inherited from lob::basic_page_t
static ulint payload ()
 
- Static Public Attributes inherited from lob::data_page_t
static const ulint OFFSET_VERSION = FIL_PAGE_DATA
 
static const ulint OFFSET_DATA_LEN = OFFSET_VERSION + 1
 
static const ulint OFFSET_TRX_ID = OFFSET_DATA_LEN + 4
 
static const ulint LOB_PAGE_DATA = OFFSET_TRX_ID + 6
 
- Protected Attributes inherited from lob::basic_page_t
buf_block_tm_block {nullptr}
 
mtr_tm_mtr {nullptr}
 
dict_index_tm_index {nullptr}
 

Member Function Documentation

◆ incr_data_len()

void lob::bulk::data_page_t::incr_data_len ( ulint  len)
inline

Increment the length of data stored in bytes.

Parameters
[in]lenamount of data stored in bytes.

◆ init()

void lob::bulk::data_page_t::init ( Btree_multi::Page_load data_page)

◆ set_data_len()

void lob::bulk::data_page_t::set_data_len ( ulint  len)
inline

Set the length of data stored in bytes.

Parameters
[in]lenamount of data stored in bytes.

◆ set_next_page_null()

void lob::bulk::data_page_t::set_next_page_null ( )

◆ set_page_type()

void lob::bulk::data_page_t::set_page_type ( )

◆ set_version_0()

void lob::bulk::data_page_t::set_version_0 ( )

Member Data Documentation

◆ m_page_load

Btree_multi::Page_load* lob::bulk::data_page_t::m_page_load {nullptr}

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