MySQL 9.1.0
Source Code Documentation
|
Iterator over all gtids in a Owned_gtids set. More...
#include <rpl_gtid.h>
Public Member Functions | |
Gtid_iterator (const Owned_gtids *og) | |
void | next () |
Advance to next GTID. More... | |
Gtid | get () const |
Return next GTID, or {0,0} if we reached the end. More... | |
Node * | get_node () const |
Return the current GTID Node, or NULL if we reached the end. More... | |
Private Attributes | |
const Owned_gtids * | owned_gtids |
The Owned_gtids set we iterate over. More... | |
rpl_sidno | sidno |
The SIDNO of the current element, or 1 in the initial iteration. More... | |
rpl_sidno | max_sidno |
Max SIDNO of the current iterator. More... | |
malloc_unordered_multimap< rpl_gno, unique_ptr_my_free< Node > > * | hash |
Current SIDNO hash. More... | |
malloc_unordered_multimap< rpl_gno, unique_ptr_my_free< Node > >::const_iterator | node_it |
Current node iterator on current SIDNO hash. More... | |
Node * | node |
Current node on current SIDNO hash. More... | |
Iterator over all gtids in a Owned_gtids set.
This is a const iterator; it does not allow modification of the set.
|
inline |
|
inline |
Return next GTID, or {0,0} if we reached the end.
|
inline |
Return the current GTID Node, or NULL if we reached the end.
|
inline |
Advance to next GTID.
|
private |
Current SIDNO hash.
|
private |
Max SIDNO of the current iterator.
|
private |
Current node on current SIDNO hash.
|
private |
Current node iterator on current SIDNO hash.
|
private |
The Owned_gtids set we iterate over.
|
private |
The SIDNO of the current element, or 1 in the initial iteration.