|
| | first_page_t () |
| |
| void | init (Btree_multi::Page_load *page_load) |
| | Initialize the first page. More...
|
| |
| void | set_next_page (page_no_t page_no) |
| |
| void | set_page_type () |
| |
| void | set_version_0 () |
| |
| void | set_trx_id (trx_id_t id) |
| |
| 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...
|
| |
| flst_node_t * | alloc_index_entry () |
| | Allocate an index entry. More...
|
| |
| void | set_last_trx_id (trx_id_t id) |
| | Set the last transaction identifier. More...
|
| |
| void | init_lob_version () |
| | Initialize the LOB version to 1. More...
|
| |
| trx_id_t | get_trx_id () const |
| | Get the current transaction identifier. More...
|
| |
| page_no_t | get_page_no () const |
| | Get the page number of this first page. More...
|
| |
| void | reset_index_entry (flst_node_t *node) |
| |
| void | append_to_index (flst_node_t *node) |
| |
| index_entry_t * | get_index_entry () |
| |
| std::vector< buf_block_t * > & | get_blocks_cache () |
| | Get a reference to the cache of blocks. More...
|
| |
| | first_page_t ()=default |
| | The default constructor. More...
|
| |
| | first_page_t (buf_block_t *block, mtr_t *mtr) |
| | Constructor. More...
|
| |
| | first_page_t (buf_block_t *block) |
| | Constructor. More...
|
| |
| | first_page_t (buf_block_t *block, mtr_t *mtr, dict_index_t *index) |
| | Constructor. More...
|
| |
| | first_page_t (mtr_t *mtr, dict_index_t *index) |
| | Constructor. More...
|
| |
| void | set_version_0 () |
| | Set the LOB format version number to 0. More...
|
| |
| uint8_t | get_flags () |
| | Obtain the flags value. More...
|
| |
| bool | can_be_partially_updated () |
| | When the bit is set, the LOB is not partially updatable anymore. More...
|
| |
| void | import (trx_id_t trx_id) |
| | Do tablespace import. More...
|
| |
| void | mark_cannot_be_partially_updated (trx_t *trx) |
| | When the bit is set, the LOB is not partially updatable anymore. More...
|
| |
| buf_block_t * | alloc (mtr_t *alloc_mtr, bool is_bulk) |
| | Allocate the first page for uncompressed LOB. More...
|
| |
| void | free_all_index_pages () |
| | Free all the index pages. More...
|
| |
| void | free_all_data_pages () |
| | Free all the data pages. More...
|
| |
| buf_block_t * | load_s (page_id_t page_id, page_size_t page_size) |
| | Load the first page of LOB with s-latch. More...
|
| |
| buf_block_t * | load_x (const page_id_t &page_id, const page_size_t &page_size, mtr_t *mtr) |
| | Load the first page of LOB with x-latch. More...
|
| |
| buf_block_t * | load_x (mtr_t *mtr) const |
| | Load the first page of LOB with x-latch in the given mtr context. More...
|
| |
| buf_block_t * | load_x (const page_id_t &page_id, const page_size_t &page_size) |
| | Load the first page of LOB with x-latch. More...
|
| |
| buf_block_t * | get_block () |
| | Get the buffer block of the LOB first page. More...
|
| |
| flst_node_t * | addr2ptr_x (const fil_addr_t &addr, mtr_t *mtr) const |
| | Load the file list node from the given location. More...
|
| |
| flst_node_t * | addr2ptr_x (fil_addr_t &addr) const |
| | Load the file list node from the given location. More...
|
| |
| flst_node_t * | addr2ptr (const fil_addr_t &addr) |
| | Load the file list node from the given location, assuming that it exists in the first page itself. More...
|
| |
| flst_node_t * | addr2ptr_s (fil_addr_t &addr) |
| | Load the file list node from the given location. More...
|
| |
| flst_node_t * | addr2ptr_s_cache (std::map< page_no_t, buf_block_t * > &cache, fil_addr_t &addr) const |
| | Load the file list node from the given location. More...
|
| |
| void | dealloc () |
| | Free the first page. More...
|
| |
| void | destroy () |
| | Free all the pages associated with this LOB. More...
|
| |
| void | make_empty () |
| | Free all the pages associated with this LOB, except the first page. More...
|
| |
| bool | is_empty () const |
| | Check if the index list is empty or not. More...
|
| |
| flst_node_t * | alloc_index_entry (bool bulk) |
| | Allocate one index entry. More...
|
| |
| byte * | nodes_begin () const |
| | Get a pointer to the beginning of the index entry nodes in the first part of the page. More...
|
| |
| void | set_trx_id_no_redo (trx_id_t id) |
| | Set the transaction identifier in the first page header without generating redo logs. More...
|
| |
| void | set_trx_id (trx_id_t id) |
| | Set the transaction identifier in the first page header. More...
|
| |
| void | init_lob_version () |
| | Initialize the LOB version to 1. More...
|
| |
| uint32_t | get_lob_version () |
| | Get the lob version number. More...
|
| |
| uint32_t | incr_lob_version () |
| | Increment the lob version by 1. More...
|
| |
| void | set_last_trx_id_no_redo (trx_id_t id) |
| | Set the last transaction identifier, without generating redo log records. More...
|
| |
| void | set_last_trx_id (trx_id_t id) |
| | Set the last transaction identifier. More...
|
| |
| void | set_last_trx_undo_no (undo_no_t undo_no) |
| | Set the last transaction undo number. More...
|
| |
| trx_id_t | get_last_trx_id () const |
| | Get the last transaction identifier. More...
|
| |
| undo_no_t | get_last_trx_undo_no () const |
| | Get the last transaction undo number. More...
|
| |
| void | set_data_len (ulint len) |
| | Set the length of data stored in bytes. More...
|
| |
| ulint | write (trx_id_t trxid, const byte *&data, ulint &len) |
| | Write as much as possible of the given data into the page. More...
|
| |
| buf_block_t * | replace (trx_t *trx, ulint offset, const byte *&ptr, ulint &want, mtr_t *mtr) |
| | Replace data in the page by making a copy-on-write. More...
|
| |
| void | replace_inline (ulint offset, const byte *&ptr, ulint &want, mtr_t *mtr) |
| | Replace data in the page inline. More...
|
| |
| ulint | get_data_len () const |
| |
| ulint | read (ulint offset, byte *ptr, ulint want) |
| | Read data from the first page. More...
|
| |
| void | set_page_type () |
| |
| flst_base_node_t * | index_list () const |
| |
| flst_base_node_t * | free_list () const |
| |
| std::ostream & | print_index_entries (std::ostream &out) const |
| |
| std::ostream & | print_index_entries_cache_s (std::ostream &out, BlockCache &cache) const |
| |
| byte * | data_begin () const |
| | Obtain the location where the data begins. More...
|
| |
| ulint | append (trx_id_t trxid, byte *&data, ulint &len) |
| | Append data into a LOB first page. More...
|
| |
| bool | validate () const |
| | Validate the first page. More...
|
| |
| page_type_t | get_page_type () |
| |
| void | restart_mtr (mtr_t *mtr) |
| | Restart the given mtr. More...
|
| |
| | 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) |
| |
An adapter class for handling blobs in bulk load.