MySQL 8.3.0
Source Code Documentation
Fil_iterator Class Reference

Iterate over the files in all the tablespaces. More...

#include <fil0fil.h>

Public Types

using Function = std::function< dberr_t(fil_node_t *)>
 

Static Public Member Functions

template<typename F >
static dberr_t for_each_file (F &&f)
 For each data file. More...
 
static dberr_t iterate (Function &&f)
 Iterate through all persistent tablespace files (FIL_TYPE_TABLESPACE) returning the nodes via callback function f. More...
 

Detailed Description

Iterate over the files in all the tablespaces.

Member Typedef Documentation

◆ Function

using Fil_iterator::Function = std::function<dberr_t(fil_node_t *)>

Member Function Documentation

◆ for_each_file()

template<typename F >
static dberr_t Fil_iterator::for_each_file ( F &&  f)
inlinestatic

For each data file.

Parameters
[in]fCallback

◆ iterate()

dberr_t Fil_iterator::iterate ( Function &&  f)
static

Iterate through all persistent tablespace files (FIL_TYPE_TABLESPACE) returning the nodes via callback function f.

Parameters
[in]fCallback
Returns
any error returned by the callback function.

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