MySQL  8.0.18
Source Code Documentation
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]

Table_id::Table_id ( )
inline

◆ Table_id() [2/2]

Table_id::Table_id ( unsigned long long  id)
inlineexplicit

Member Function Documentation

◆ id()

unsigned long long Table_id::id ( ) const
inline

◆ is_valid()

bool Table_id::is_valid ( ) const
inline

◆ operator unsigned long long()

Table_id::operator unsigned long long ( ) const
inline

◆ operator!=()

bool Table_id::operator!= ( const Table_id tid) const
inline

◆ operator++()

Table_id Table_id::operator++ ( int  )
inline

◆ operator=()

Table_id& Table_id::operator= ( unsigned long long  id)
inline

◆ operator==()

bool Table_id::operator== ( const Table_id tid) const
inline

Member Data Documentation

◆ m_id

uint64_t Table_id::m_id
private

◆ TABLE_ID_MAX

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

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