MySQL 9.1.0
Source Code Documentation
|
Does a breadth first traversal (BFT) of the B-tree, and invokes the callback for each of the B-tree nodes. More...
#include <btr0btr.h>
Classes | |
struct | Callback |
Public Member Functions | |
BFT (const dict_index_t *index, Callback &cb) | |
void | traverse () |
const dict_index_t * | index () const |
Private Member Functions | |
void | children_to_visit (buf_block_t *block) |
page_no_t | visit_next () |
Private Attributes | |
std::list< page_no_t > | m_pages_to_visit |
const dict_index_t * | m_index |
Callback & | m_callback |
Does a breadth first traversal (BFT) of the B-tree, and invokes the callback for each of the B-tree nodes.
BFT::BFT | ( | const dict_index_t * | index, |
Callback & | cb | ||
) |
|
private |
|
inline |
void BFT::traverse | ( | ) |
|
private |
|
private |
|
private |
|
private |