MySQL 9.6.0
Source Code Documentation
mysql::gtids::detail Namespace Reference

Classes

class  Char_table
 Helper class to hold lookup tables indexed by ascii characters. More...
 
class  Gtid_base
 Top of the hierarchy. More...
 
class  Gtid_interface
 Base class for classes representing a single Gtid, parameterized by the type of the Tsid. More...
 
struct  Gtid_set_header
 Helper to decode format version and tsid count in formats v0, v1, v2. More...
 
class  Tag_base
 Top of the hierarchy, defining the tag format. More...
 
class  Tag_interface
 CRTP base class defining a tag class given an implementation that provides a contiguous buffer as storage, through a out_str member. More...
 
class  Tsid_base
 Top of the hierarchy. More...
 
class  Tsid_interface
 Common interface, parameterized by tag type. More...
 

Typedefs

using Sequence_number_traits_alias = mysql::sets::Int_set_traits< Sequence_number, sequence_number_min, sequence_number_max_exclusive >
 Type alias that defines Set_traits for gtids::Sequence_number. More...
 
using Gtid_interval_alias = mysql::sets::Interval< Sequence_number_traits >
 Type alias that defines the Interval type used for Gtid intervals. More...
 
using Gtid_interval_set_alias = mysql::sets::Map_interval_container< Sequence_number_traits >
 Type alias that defines the Interval set type used for Gtid intervals. More...
 
using Gtid_set_alias = mysql::sets::Map_nested_container< Tsid_traits, Gtid_interval_set >
 Type alias that defines the Set type used for Gtid sets. More...
 

Functions

template<std::integral Int_t = uint64_t>
constexpr auto low_bits (int n)
 Return a value of the given integer type having the low N bits set to 1. More...
 

Typedef Documentation

◆ Gtid_interval_alias

Type alias that defines the Interval type used for Gtid intervals.

Use Gtid_interval instead: that is less verbose when it appears in error messages or stack traces.

◆ Gtid_interval_set_alias

Type alias that defines the Interval set type used for Gtid intervals.

Use Gtid_interval_set instead: that is less verbose when it appears in error messages or stack traces.

◆ Gtid_set_alias

Type alias that defines the Set type used for Gtid sets.

Use Gtid_set instead: that is less verbose when it appears in error messages or stack traces.

◆ Sequence_number_traits_alias

Type alias that defines Set_traits for gtids::Sequence_number.

Use Sequence_number_traits instead: that is less verbose when it appears in error messages or stack traces.

Function Documentation

◆ low_bits()

template<std::integral Int_t = uint64_t>
constexpr auto mysql::gtids::detail::low_bits ( int  n)
constexpr

Return a value of the given integer type having the low N bits set to 1.