MySQL 8.4.3
Source Code Documentation
mysql::binlog::event::Table_id Class Reference

Each table share has a table id, it is mainly used for row based replication. More...

#include <table_id.h>

Public Member Functions

 Table_id ()
 
 Table_id (unsigned long long id)
 
unsigned long long id () const
 
bool is_valid () const
 
Table_idoperator= (unsigned long long id)
 
bool operator== (const Table_id &tid) const
 
bool operator!= (const Table_id &tid) const
 
 operator unsigned long long () const
 
Table_id operator++ (int)
 

Private Attributes

uint64_t m_id
 

Static Private Attributes

static const unsigned long long TABLE_ID_MAX = (~0ULL >> 16)
 

Detailed Description

Each table share has a table id, it is mainly used for row based replication.

Meanwhile it is used as table's version too.

Constructor & Destructor Documentation

◆ Table_id() [1/2]

mysql::binlog::event::Table_id::Table_id ( )
inline

◆ Table_id() [2/2]

mysql::binlog::event::Table_id::Table_id ( unsigned long long  id)
inlineexplicit

Member Function Documentation

◆ id()

unsigned long long mysql::binlog::event::Table_id::id ( ) const
inline

◆ is_valid()

bool mysql::binlog::event::Table_id::is_valid ( void  ) const
inline

◆ operator unsigned long long()

mysql::binlog::event::Table_id::operator unsigned long long ( ) const
inline

◆ operator!=()

bool mysql::binlog::event::Table_id::operator!= ( const Table_id tid) const
inline

◆ operator++()

Table_id mysql::binlog::event::Table_id::operator++ ( int  )
inline

◆ operator=()

Table_id & mysql::binlog::event::Table_id::operator= ( unsigned long long  id)
inline

◆ operator==()

bool mysql::binlog::event::Table_id::operator== ( const Table_id tid) const
inline

Member Data Documentation

◆ m_id

uint64_t mysql::binlog::event::Table_id::m_id
private

◆ TABLE_ID_MAX

const unsigned long long mysql::binlog::event::Table_id::TABLE_ID_MAX = (~0ULL >> 16)
staticprivate

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