MySQL 8.4.2
Source Code Documentation
BFT Struct Reference

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_tindex () const
 

Private Member Functions

void children_to_visit (buf_block_t *block)
 
page_no_t visit_next ()
 

Private Attributes

std::list< page_no_tm_pages_to_visit
 
const dict_index_tm_index
 
Callbackm_callback
 

Detailed Description

Does a breadth first traversal (BFT) of the B-tree, and invokes the callback for each of the B-tree nodes.

Constructor & Destructor Documentation

◆ BFT()

BFT::BFT ( const dict_index_t index,
Callback cb 
)

Member Function Documentation

◆ children_to_visit()

void BFT::children_to_visit ( buf_block_t block)
private

◆ index()

const dict_index_t * BFT::index ( ) const
inline

◆ traverse()

void BFT::traverse ( )

◆ visit_next()

page_no_t BFT::visit_next ( )
private

Member Data Documentation

◆ m_callback

Callback& BFT::m_callback
private

◆ m_index

const dict_index_t* BFT::m_index
private

◆ m_pages_to_visit

std::list<page_no_t> BFT::m_pages_to_visit
private

The documentation for this struct was generated from the following files: