MySQL 8.4.2
Source Code Documentation
index_id_t Class Reference

Globally unique index identifier. More...

#include <dict0types.h>

Public Member Functions

 index_id_t (space_id_t space_id, space_index_t index_id)
 Constructor. More...
 
bool operator< (const index_id_t &other) const
 Compare this to another index identifier. More...
 
bool operator== (const index_id_t &other) const
 Compare this to another index identifier. More...
 
uint64_t conv_to_int () const
 Convert an index_id to a 64 bit integer. More...
 
bool is_ibuf () const
 Check if the index belongs to the insert buffer. More...
 

Public Attributes

space_id_t m_space_id
 Tablespace identifier. More...
 
space_index_t m_index_id
 Index identifier within the tablespace. More...
 

Detailed Description

Globally unique index identifier.

Constructor & Destructor Documentation

◆ index_id_t()

index_id_t::index_id_t ( space_id_t  space_id,
space_index_t  index_id 
)
inline

Constructor.

Parameters
[in]space_idTablespace identifier
[in]index_idIndex identifier

Member Function Documentation

◆ conv_to_int()

uint64_t index_id_t::conv_to_int ( ) const
inline

Convert an index_id to a 64 bit integer.

Returns
a 64 bit integer

◆ is_ibuf()

bool index_id_t::is_ibuf ( ) const
inline

Check if the index belongs to the insert buffer.

Returns
true if the index belongs to the insert buffer

◆ operator<()

bool index_id_t::operator< ( const index_id_t other) const
inline

Compare this to another index identifier.

Parameters
otherthe other index identifier
Returns
whether this is less than other

◆ operator==()

bool index_id_t::operator== ( const index_id_t other) const
inline

Compare this to another index identifier.

Parameters
otherthe other index identifier
Returns
whether the identifiers are equal

Member Data Documentation

◆ m_index_id

space_index_t index_id_t::m_index_id

Index identifier within the tablespace.

◆ m_space_id

space_id_t index_id_t::m_space_id

Tablespace identifier.


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