MySQL 8.0.39
Source Code Documentation
|
Iterator over all gtids in a Gtid_set. More...
#include <rpl_gtid.h>
Public Member Functions | |
Gtid_iterator (const Gtid_set *gs) | |
void | next () |
Advance to next gtid. More... | |
Gtid | get () const |
Return next gtid, or {0,0} if we reached the end. More... | |
Private Member Functions | |
void | next_sidno () |
Find the next sidno that has one or more intervals. More... | |
Private Attributes | |
const Gtid_set * | gtid_set |
The Gtid_set we iterate over. More... | |
rpl_sidno | sidno |
The SIDNO of the current element, or 0 if the iterator is past the last element. More... | |
rpl_gno | gno |
The GNO of the current element, or 0 if the iterator is past the last element. More... | |
Const_interval_iterator | ivit |
Iterator over the intervals for the current SIDNO. More... | |
Iterator over all gtids in a Gtid_set.
This is a const iterator; it does not allow modification of the Gtid_set.
|
inline |
|
inline |
Return next gtid, or {0,0} if we reached the end.
|
inline |
Advance to next gtid.
|
inlineprivate |
Find the next sidno that has one or more intervals.
|
private |
The GNO of the current element, or 0 if the iterator is past the last element.
|
private |
The Gtid_set we iterate over.
|
private |
Iterator over the intervals for the current SIDNO.
|
private |
The SIDNO of the current element, or 0 if the iterator is past the last element.