MySQL 8.0.39
Source Code Documentation
lob::Reader Struct Reference

Fetch uncompressed BLOB. More...

#include <lob0lob.h>

Public Member Functions

 Reader (const ReadContext &ctx)
 Constructor. More...
 
ulint fetch ()
 Fetch the complete or prefix of the uncompressed LOB data. More...
 
void fetch_page ()
 Fetch one BLOB page. More...
 

Public Attributes

ReadContext m_rctx
 
buf_block_tm_cur_block
 Buffer block of the current BLOB page. More...
 
ulint m_copied_len
 Total bytes of LOB data that has been copied from multiple LOB pages. More...
 

Detailed Description

Fetch uncompressed BLOB.

Constructor & Destructor Documentation

◆ Reader()

lob::Reader::Reader ( const ReadContext ctx)
inline

Constructor.

Member Function Documentation

◆ fetch()

ulint lob::Reader::fetch ( )

Fetch the complete or prefix of the uncompressed LOB data.

Returns
bytes of LOB data fetched.

◆ fetch_page()

void lob::Reader::fetch_page ( )

Fetch one BLOB page.

Member Data Documentation

◆ m_copied_len

ulint lob::Reader::m_copied_len

Total bytes of LOB data that has been copied from multiple LOB pages.

This is a cumulative value. When this value reaches m_rctx.m_len, then the read operation is completed.

◆ m_cur_block

buf_block_t* lob::Reader::m_cur_block

Buffer block of the current BLOB page.

◆ m_rctx

ReadContext lob::Reader::m_rctx

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