MySQL 8.0.40
Source Code Documentation
|
A wrapper class to help print and inspect the file page header. More...
#include <fil0types.h>
Public Member Functions | |
Fil_page_header (const byte *frame) | |
The constructor that takes a pointer to page header as argument. More... | |
space_id_t | get_space_id () const noexcept |
Get the space id from the page header. More... | |
page_no_t | get_page_no () const noexcept |
Get the page number from the page header. More... | |
uint16_t | get_page_type () const noexcept |
Get the page type from the page header. More... | |
std::ostream & | print (std::ostream &out) const noexcept |
Print the page header to the given output stream. More... | |
Private Attributes | |
const byte * | m_frame {} |
Pointer to the page header. More... | |
A wrapper class to help print and inspect the file page header.
|
inlineexplicit |
The constructor that takes a pointer to page header as argument.
[in] | frame | the pointer to the page header. |
|
noexcept |
Get the page number from the page header.
|
noexcept |
Get the page type from the page header.
|
noexcept |
Get the space id from the page header.
|
noexcept |
Print the page header to the given output stream.
[in] | out | the output stream. |
|
private |
Pointer to the page header.