MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
mrs::database::inner::Gtid< Range > Class Template Reference

#include <gtid.h>

Public Member Functions

template<typename... T>
 Gtid (const GTIDuuid &uid, T &&...v)
 
bool operator== (const Gtid &other) const
 
template<typename OtherRange >
bool contains (const Gtid< OtherRange > &other) const
 
bool parse (const std::string &gtid)
 
std::string to_string () const
 
bool try_merge (const GtidRange &range)
 
template<typename SomeRange >
bool try_merge (const Gtid< SomeRange > &gtid)
 
template<typename SomeRange >
bool insert (const Gtid< SomeRange > &other)
 
template<typename SomeRange >
void set (const Gtid< SomeRange > &other)
 
uint64_t size () const
 
const GTIDuuidget_uid () const
 
const Range & get_range () const
 

Protected Attributes

GTIDuuid uid_
 
Range range_
 

Friends

template<typename SomeRange >
class Gtid
 

Constructor & Destructor Documentation

◆ Gtid()

template<typename Range >
template<typename... T>
mrs::database::inner::Gtid< Range >::Gtid ( const GTIDuuid uid,
T &&...  v 
)
inline

Member Function Documentation

◆ contains()

template<typename Range >
template<typename OtherRange >
bool mrs::database::inner::Gtid< Range >::contains ( const Gtid< OtherRange > &  other) const
inline

◆ get_range()

template<typename Range >
const Range & mrs::database::inner::Gtid< Range >::get_range ( ) const
inline

◆ get_uid()

template<typename Range >
const GTIDuuid & mrs::database::inner::Gtid< Range >::get_uid ( ) const
inline

◆ insert()

template<typename Range >
template<typename SomeRange >
bool mrs::database::inner::Gtid< Range >::insert ( const Gtid< SomeRange > &  other)
inline

◆ operator==()

template<typename Range >
bool mrs::database::inner::Gtid< Range >::operator== ( const Gtid< Range > &  other) const
inline

◆ parse()

template<typename Range >
bool mrs::database::inner::Gtid< Range >::parse ( const std::string &  gtid)
inline

◆ set()

template<typename Range >
template<typename SomeRange >
void mrs::database::inner::Gtid< Range >::set ( const Gtid< SomeRange > &  other)
inline

◆ size()

template<typename Range >
uint64_t mrs::database::inner::Gtid< Range >::size ( ) const
inline

◆ to_string()

template<typename Range >
std::string mrs::database::inner::Gtid< Range >::to_string ( ) const
inline

◆ try_merge() [1/2]

template<typename Range >
template<typename SomeRange >
bool mrs::database::inner::Gtid< Range >::try_merge ( const Gtid< SomeRange > &  gtid)
inline

◆ try_merge() [2/2]

template<typename Range >
bool mrs::database::inner::Gtid< Range >::try_merge ( const GtidRange range)
inline

Friends And Related Function Documentation

◆ Gtid

template<typename Range >
template<typename SomeRange >
friend class Gtid
friend

Member Data Documentation

◆ range_

template<typename Range >
Range mrs::database::inner::Gtid< Range >::range_
protected

◆ uid_

template<typename Range >
GTIDuuid mrs::database::inner::Gtid< Range >::uid_
protected

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