MySQL 8.4.3
Source Code Documentation
mysql::gtid Namespace Reference

Namespaces

namespace  internal
 

Classes

class  Gno_interval
 This class represents a range of transaction identifiers. More...
 
class  Gtid
 Represents a MySQL Global Transaction Identifier. More...
 
class  Gtid_set
 This class represents a set of transaction identifiers. More...
 
class  Tag
 Representation of the GTID tag. More...
 
struct  Tag_plain
 Tag representation so that: More...
 
class  Tsid
 Represents Transaction Source Identifier which is composed of source UUID and transaction tag. More...
 
struct  Tsid_plain
 TSID representation so that: More...
 
struct  Uuid
 Uuid is a trivial and of standard layout The structure contains the following components. More...
 
struct  Uuid_hash
 

Typedefs

typedef std::int64_t gno_t
 
typedef mysql::gtid::Uuid Uuid
 
template<class T >
using Primitive_type_codec = mysql::serialization::Primitive_type_codec< T >
 

Enumerations

enum class  Gtid_format : uint8_t { untagged = 0 , tagged = 1 , last }
 Gtid binary format indicator. More...
 

Functions

bool operator== (const Uuid &a, const Uuid &b)
 
bool operator!= (const Uuid &a, const Uuid &b)
 

Variables

constexpr auto gtid_separator {':'}
 Separator used in GTID string representation, separates: More...
 
constexpr auto gtid_set_separator = ','
 Separator between UUIDs in a GTID set string representation. More...
 
constexpr std::size_t tag_max_length = 32
 Maximal number of characters in a tag. More...
 
constexpr auto tsid_max_length = Uuid::TEXT_LENGTH + 1 + tag_max_length
 Maximum TSID text length (without null character) More...
 

Typedef Documentation

◆ gno_t

typedef std::int64_t mysql::gtid::gno_t

◆ Primitive_type_codec

◆ Uuid

Enumeration Type Documentation

◆ Gtid_format

enum class mysql::gtid::Gtid_format : uint8_t
strong

Gtid binary format indicator.

Enumerator
untagged 
tagged 
last 

Function Documentation

◆ operator!=()

bool mysql::gtid::operator!= ( const Uuid a,
const Uuid b 
)
inline

◆ operator==()

bool mysql::gtid::operator== ( const Uuid a,
const Uuid b 
)
inline

Variable Documentation

◆ gtid_separator

constexpr auto mysql::gtid::gtid_separator {':'}
inlineconstexpr

Separator used in GTID string representation, separates:

  • UUID and intervals
  • UUID and tag
  • tag and intervals

◆ gtid_set_separator

constexpr auto mysql::gtid::gtid_set_separator = ','
inlineconstexpr

Separator between UUIDs in a GTID set string representation.

◆ tag_max_length

constexpr std::size_t mysql::gtid::tag_max_length = 32
inlineconstexpr

Maximal number of characters in a tag.

◆ tsid_max_length

constexpr auto mysql::gtid::tsid_max_length = Uuid::TEXT_LENGTH + 1 + tag_max_length
inlineconstexpr

Maximum TSID text length (without null character)