MySQL 9.1.0
Source Code Documentation
lob::blob_dir_t Struct Reference

The in-memory blob directory. More...

#include <lob0lob.h>

Public Types

typedef std::vector< blob_page_info_t >::const_iterator const_iterator
 

Public Member Functions

std::ostream & print (std::ostream &out) const
 Print this blob directory into the given output stream. More...
 
void clear ()
 Clear the contents of this blob directory. More...
 
dberr_t add (const blob_page_info_t &page)
 Append the given blob page information. More...
 

Public Attributes

std::vector< blob_page_info_tm_pages
 A vector of blob pages along with its metadata. More...
 

Detailed Description

The in-memory blob directory.

Each blob contains a sequence of pages. This directory contains a list of those pages along with their metadata.

Member Typedef Documentation

◆ const_iterator

Member Function Documentation

◆ add()

dberr_t lob::blob_dir_t::add ( const blob_page_info_t page)
inline

Append the given blob page information.

Parameters
[in]pagethe blob page information to be added.
Returns
DB_SUCCESS on success, error code on failure.

◆ clear()

void lob::blob_dir_t::clear ( )
inline

Clear the contents of this blob directory.

◆ print()

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

Print this blob directory into the given output stream.

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

Member Data Documentation

◆ m_pages

std::vector<blob_page_info_t> lob::blob_dir_t::m_pages

A vector of blob pages along with its metadata.


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