MySQL 8.4.2
Source Code Documentation
Parallel_reader::Config Struct Reference

Scan (Scan_ctx) configuration. More...

#include <row0pread.h>

Public Member Functions

 Config (const Scan_range &scan_range, dict_index_t *index, size_t read_level=0, size_t partition_id=std::numeric_limits< size_t >::max())
 Constructor. More...
 
 Config (const Config &config)=default
 Copy constructor. More...
 

Public Attributes

const Scan_range m_scan_range
 Range to scan. More...
 
dict_index_tm_index {}
 (Cluster) Index in table to scan. More...
 
const bool m_is_compact {}
 Row format of table. More...
 
const page_size_t m_page_size
 Tablespace page size. More...
 
size_t m_read_level {0}
 Btree level from which records need to be read. More...
 
size_t m_partition_id {std::numeric_limits<size_t>::max()}
 Partition id if the index to be scanned belongs to a partitioned table, else std::numeric_limits<size_t>::max(). More...
 

Detailed Description

Scan (Scan_ctx) configuration.

Constructor & Destructor Documentation

◆ Config() [1/2]

Parallel_reader::Config::Config ( const Scan_range scan_range,
dict_index_t index,
size_t  read_level = 0,
size_t  partition_id = std::numeric_limits<size_t>::max() 
)
inline

Constructor.

Parameters
[in]scan_rangeRange to scan.
[in]indexCluster index to scan.
[in]read_levelBtree level from which records need to be read.
[in]partition_idPartition id if the index to be scanned. belongs to a partitioned table.

◆ Config() [2/2]

Parallel_reader::Config::Config ( const Config config)
default

Copy constructor.

Parameters
[in]configInstance to copy from.

Member Data Documentation

◆ m_index

dict_index_t* Parallel_reader::Config::m_index {}

(Cluster) Index in table to scan.

◆ m_is_compact

const bool Parallel_reader::Config::m_is_compact {}

Row format of table.

◆ m_page_size

const page_size_t Parallel_reader::Config::m_page_size

Tablespace page size.

◆ m_partition_id

size_t Parallel_reader::Config::m_partition_id {std::numeric_limits<size_t>::max()}

Partition id if the index to be scanned belongs to a partitioned table, else std::numeric_limits<size_t>::max().

◆ m_read_level

size_t Parallel_reader::Config::m_read_level {0}

Btree level from which records need to be read.

◆ m_scan_range

const Scan_range Parallel_reader::Config::m_scan_range

Range to scan.


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