MySQL 9.0.0
Source Code Documentation
lob::blob_page_info_t Struct Reference

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...
 

Detailed Description

Information about data stored in one BLOB page.

Constructor & Destructor Documentation

◆ blob_page_info_t()

lob::blob_page_info_t::blob_page_info_t ( page_no_t  page_no,
uint  bytes,
uint  zbytes 
)
inline

Constructor.

Parameters
[in]page_nothe BLOB page number.
[in]bytesamount of uncompressed BLOB data in BLOB page in bytes.
[in]zbytesamount of compressed BLOB data in BLOB page in bytes.

Member Function Documentation

◆ print()

std::ostream & lob::blob_page_info_t::print ( std::ostream &  out) const

Print this blob_page_into_t object into the given output stream.

Parameters
[in]outthe output stream.
Returns
the output stream.

◆ reset()

void lob::blob_page_info_t::reset ( void  )
inline

Re-initialize the current object.

◆ set_compressed_size()

void lob::blob_page_info_t::set_compressed_size ( uint  bytes)
inline

Set the compressed data size in bytes.

Parameters
[in]bytesthe new compressed data size.

◆ set_page_no()

void lob::blob_page_info_t::set_page_no ( page_no_t  page_no)
inline

Set the page number.

Parameters
[in]page_nothe page number

◆ set_uncompressed_size()

void lob::blob_page_info_t::set_uncompressed_size ( uint  bytes)
inline

Set the uncompressed data size in bytes.

Parameters
[in]bytesthe new uncompressed data size.

Member Data Documentation

◆ m_bytes

uint lob::blob_page_info_t::m_bytes
private

Amount of uncompressed data (in bytes) in the BLOB page.

◆ m_page_no

page_no_t lob::blob_page_info_t::m_page_no
private

The BLOB page number.

◆ m_zbytes

uint lob::blob_page_info_t::m_zbytes
private

Amount of compressed data (in bytes) in the BLOB page.


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