MySQL 8.0.39
Source Code Documentation
|
Iterator over intervals for a given SIDNO. More...
#include <rpl_gtid.h>
Public Member Functions | |
Interval_iterator_base (Gtid_set_p gtid_set, rpl_sidno sidno) | |
Construct a new iterator over the GNO intervals for a given Gtid_set. More... | |
Interval_iterator_base (Gtid_set_p gtid_set) | |
Construct a new iterator over the free intervals of a Gtid_set. More... | |
void | init (Gtid_set_p gtid_set, rpl_sidno sidno) |
Reset this iterator. More... | |
void | next () |
Advance current_elem one step. More... | |
Interval_p | get () const |
Return current_elem. More... | |
Protected Attributes | |
Interval_p * | p |
Holds the address of the 'next' pointer of the previous element, or the address of the initial pointer into the list, if the current element is the first element. More... | |
Iterator over intervals for a given SIDNO.
This is an abstract template class, used as a common base class for Const_interval_iterator and Interval_iterator.
The iterator always points to an interval pointer. The interval pointer is either the initial pointer into the list, or the next pointer of one of the intervals in the list.
|
inline |
Construct a new iterator over the GNO intervals for a given Gtid_set.
gtid_set | The Gtid_set. |
sidno | The SIDNO. |
|
inline |
Construct a new iterator over the free intervals of a Gtid_set.
|
inline |
Return current_elem.
|
inline |
Reset this iterator.
|
inline |
Advance current_elem one step.
|
protected |
Holds the address of the 'next' pointer of the previous element, or the address of the initial pointer into the list, if the current element is the first element.