MySQL 8.0.40
Source Code Documentation
|
Information about data stored in one BLOB page. More...
#include <lob0lob.h>
Public Member Functions | |
blob_page_info_t (page_no_t page_no, uint bytes, uint zbytes) | |
Constructor. More... | |
void | reset () |
Re-initialize the current object. More... | |
std::ostream & | print (std::ostream &out) const |
Print this blob_page_into_t object into the given output stream. More... | |
void | set_compressed_size (uint bytes) |
Set the compressed data size in bytes. More... | |
void | set_uncompressed_size (uint bytes) |
Set the uncompressed data size in bytes. More... | |
void | set_page_no (page_no_t page_no) |
Set the page number. More... | |
Private Attributes | |
page_no_t | m_page_no |
The BLOB page number. More... | |
uint | m_bytes |
Amount of uncompressed data (in bytes) in the BLOB page. More... | |
uint | m_zbytes |
Amount of compressed data (in bytes) in the BLOB page. More... | |
Information about data stored in one BLOB page.
Constructor.
[in] | page_no | the BLOB page number. |
[in] | bytes | amount of uncompressed BLOB data in BLOB page in bytes. |
[in] | zbytes | amount of compressed BLOB data in BLOB page in bytes. |
std::ostream & lob::blob_page_info_t::print | ( | std::ostream & | out | ) | const |
Print this blob_page_into_t object into the given output stream.
[in] | out | the output stream. |
|
inline |
Re-initialize the current object.
|
inline |
Set the compressed data size in bytes.
[in] | bytes | the new compressed data size. |
|
inline |
Set the page number.
[in] | page_no | the page number |
|
inline |
Set the uncompressed data size in bytes.
[in] | bytes | the new uncompressed data size. |
|
private |
Amount of uncompressed data (in bytes) in the BLOB page.
|
private |
The BLOB page number.
|
private |
Amount of compressed data (in bytes) in the BLOB page.