![]() |
MySQL 8.0.33
Source Code Documentation
|
The iterator class itself is private. More...
Public Member Functions | |
Query_term_iterator (Query_term *root) | |
Construct an iterator over the query term tree rooted in root, optionally skipping the leaves. More... | |
Query_term_iterator ()=default | |
Query_term_iterator & | operator++ () |
Query_term * | operator* () |
bool | operator== (const Query_term_iterator &other) const |
bool | operator!= (const Query_term_iterator &other) const |
Public Attributes | |
Query_term * | m_current {nullptr} |
Iterator state consists of this and Query_term::m_curr_id. More... | |
The iterator class itself is private.
Only used directly by begin and end
|
inline |
Construct an iterator over the query term tree rooted in root, optionally skipping the leaves.
Skipping is useful for those cases where the leaves are visited separately[1] and we only want to visit the set operation nodes in the tree. [1] By walking the Query_expression::first_query_block and Query_block::next_query_block chain
root | the node to start iteration from |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
Query_term* Query_terms< visit_order, visit_leaves >::Query_term_iterator::m_current {nullptr} |
Iterator state consists of this and Query_term::m_curr_id.