MySQL 8.0.40
Source Code Documentation
|
The base node of page list. More...
#include <lob0impl.h>
Public Member Functions | |
plist_base_node_t (byte *frame, byte *base, mtr_t *mtr) | |
void | init () |
void | remove (plist_node_t &node) |
void | push_front (plist_node_t &node) |
void | insert_after (plist_node_t &node1, plist_node_t &node2) |
Insert node2 after node1. More... | |
void | insert_before (plist_node_t &node3, plist_node_t &node2) |
Insert node2 before node3. More... | |
void | add_to_empty (plist_node_t &node) |
void | push_back (plist_node_t &node) |
bool | empty () const |
ulint | get_len () const |
paddr_t | get_first () const |
plist_node_t | get_first_node () const |
paddr_t | get_last () const |
plist_node_t | get_last_node () const |
void | set_len (ulint len) |
void | incr_len () |
void | decr_len () |
void | set_first (paddr_t addr) |
void | set_last (paddr_t addr) |
plist_node_t | get_node (paddr_t addr) |
paddr_t | addr () const |
std::ostream & | print (std::ostream &out) const |
std::ostream & | print_list (std::ostream &out) const |
bool | validate () const |
Validate the page list. More... | |
Public Attributes | |
byte * | m_frame |
byte * | m_base |
mtr_t * | m_mtr |
Static Public Attributes | |
static const ulint | OFFSET_LEN = 0 |
The offset where the length of the page list is stored. More... | |
static const ulint | OFFSET_FIRST = 4 |
The offset where the first node is located. More... | |
static const ulint | OFFSET_LAST = 6 |
The offset where the last node is located. More... | |
static const ulint | SIZE = 8 |
The total size (in bytes) of a page list base node. More... | |
The base node of page list.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Insert node2 after node1.
|
inline |
Insert node2 before node3.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool lob::plist_base_node_t::validate | ( | ) | const |
Validate the page list.
byte* lob::plist_base_node_t::m_base |
byte* lob::plist_base_node_t::m_frame |
mtr_t* lob::plist_base_node_t::m_mtr |
|
static |
The offset where the first node is located.
This is 2 bytes long.
|
static |
The offset where the last node is located.
This is 2 bytes long.
|
static |
The offset where the length of the page list is stored.
This is 4 bytes long.
|
static |
The total size (in bytes) of a page list base node.