MySQL 26.7.0
Source Code Documentation
ib::redo::Mtr_view Class Reference

This class represents a list of parsed redo records that form an mtr. More...

#include <log0redo.h>

Public Member Functions

constexpr size_t size () const noexcept
 Returns mtr size in bytes occupied in the parsing buffer. More...
 
constexpr bool empty () const noexcept
 Returns true if mtr contains no records. More...
 
constexpr const Record_listrecords () const noexcept
 Returns record list. More...
 
template<typename T >
void add_record (T &&record)
 Add record to the list. More...
 

Private Attributes

size_t m_size = 0
 Full mtr size in bytes occupied in the parsing buffer. More...
 
Record_list m_records
 

Detailed Description

This class represents a list of parsed redo records that form an mtr.

Member Function Documentation

◆ add_record()

template<typename T >
void ib::redo::Mtr_view::add_record ( T &&  record)
inline

Add record to the list.

◆ empty()

constexpr bool ib::redo::Mtr_view::empty ( ) const
inlineconstexprnoexcept

Returns true if mtr contains no records.

◆ records()

constexpr const Record_list & ib::redo::Mtr_view::records ( ) const
inlineconstexprnoexcept

Returns record list.

◆ size()

constexpr size_t ib::redo::Mtr_view::size ( ) const
inlineconstexprnoexcept

Returns mtr size in bytes occupied in the parsing buffer.

Member Data Documentation

◆ m_records

Record_list ib::redo::Mtr_view::m_records
private

◆ m_size

size_t ib::redo::Mtr_view::m_size = 0
private

Full mtr size in bytes occupied in the parsing buffer.


The documentation for this class was generated from the following file: