![]() |
MySQL 26.7.0
Source Code Documentation
|
This class represents a parsed redo record. More...
#include <log0redo.h>
Classes | |
| struct | Aux_tag |
| Auxiliary record tag. More... | |
| struct | Page_tag |
| Page data record tag. More... | |
| struct | Space_tag |
| Table space tag. More... | |
| struct | Table_tag |
| Table metadata tag. More... | |
| union | Tag |
Public Types | |
| enum class | Kind { Aux , Page , Table , Space } |
| Possible record kinds. More... | |
Public Member Functions | |
| template<typename Tag > | |
| constexpr | Record_view (int type, size_t size, std::span< const uint8_t > body, Tag &&tag) |
| constexpr Kind | kind () const noexcept |
| Returns record kind. More... | |
| constexpr int | type () const noexcept |
| Returns record type with MLOG_SINGLE_REC_FLAG cleared. More... | |
| constexpr size_t | size () const noexcept |
| Returns record size in bytes occupied in the parsing buffer. More... | |
| constexpr std::span< const uint8_t > | body () const noexcept |
| Returns reference to record body. More... | |
| constexpr const Page_tag & | page () const noexcept |
| Returns page data tag. More... | |
| constexpr const Table_tag & | table () const noexcept |
| Returns table metadata tag. More... | |
| constexpr const Space_tag & | space () const noexcept |
| Returns table space tag. More... | |
Private Attributes | |
| Kind | m_kind |
| int | m_type |
| Record type with MLOG_SINGLE_REC_FLAG cleared. More... | |
| size_t | m_size |
| Full record size in bytes occupied in the parsing buffer. More... | |
| std::span< const uint8_t > | m_body |
| Record data excluding what consumed by m_type and m_tag. More... | |
| union ib::redo::Record_view::Tag | m_tag |
This class represents a parsed redo record.
|
strong |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
Returns reference to record body.
|
inlineconstexprnoexcept |
Returns record kind.
|
inlineconstexprnoexcept |
Returns page data tag.
|
inlineconstexprnoexcept |
Returns record size in bytes occupied in the parsing buffer.
|
inlineconstexprnoexcept |
Returns table space tag.
|
inlineconstexprnoexcept |
Returns table metadata tag.
|
inlineconstexprnoexcept |
Returns record type with MLOG_SINGLE_REC_FLAG cleared.
|
private |
Record data excluding what consumed by m_type and m_tag.
|
private |
|
private |
Full record size in bytes occupied in the parsing buffer.
|
private |
|
private |
Record type with MLOG_SINGLE_REC_FLAG cleared.