MySQL 9.1.0
Source Code Documentation
temptable::Indexed_column Class Reference

#include <indexed_column.h>

Public Member Functions

 Indexed_column ()=default
 Default constructor used for std::array initialization in Index. More...
 
 Indexed_column (const KEY_PART_INFO &mysql_key_part)
 
size_t field_index () const
 
uint32_t prefix_length () const
 
const Cell_calculatorcell_calculator () const
 

Private Attributes

uint16_t m_mysql_field_index
 The position of the indexed column. More...
 
uint32_t m_prefix_length
 
Cell_calculator m_cell_calculator
 

Constructor & Destructor Documentation

◆ Indexed_column() [1/2]

temptable::Indexed_column::Indexed_column ( )
default

Default constructor used for std::array initialization in Index.

◆ Indexed_column() [2/2]

temptable::Indexed_column::Indexed_column ( const KEY_PART_INFO mysql_key_part)
inlineexplicit

Member Function Documentation

◆ cell_calculator()

const Cell_calculator & temptable::Indexed_column::cell_calculator ( ) const
inline

◆ field_index()

size_t temptable::Indexed_column::field_index ( ) const
inline

◆ prefix_length()

uint32_t temptable::Indexed_column::prefix_length ( ) const
inline

Member Data Documentation

◆ m_cell_calculator

Cell_calculator temptable::Indexed_column::m_cell_calculator
private

◆ m_mysql_field_index

uint16_t temptable::Indexed_column::m_mysql_field_index
private

The position of the indexed column.

It can range from 1 to MAX_FIELDS. Use an appropriate datatype that can hold these values.

◆ m_prefix_length

uint32_t temptable::Indexed_column::m_prefix_length
private

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