MySQL 8.0.32
Source Code Documentation
ddl::Index_field Struct Reference

Index field definition. More...

#include <ddl0ddl.h>

Public Attributes

size_t m_col_no {}
 Column offset. More...
 
size_t m_prefix_len {}
 Column prefix length, or 0 if indexing the whole column. More...
 
bool m_is_v_col {}
 Whether this is a virtual column. More...
 
bool m_is_multi_value {}
 Whether it has multi-value. More...
 
bool m_is_ascending {}
 true=ASC, false=DESC More...
 

Detailed Description

Index field definition.

Member Data Documentation

◆ m_col_no

size_t ddl::Index_field::m_col_no {}

Column offset.

◆ m_is_ascending

bool ddl::Index_field::m_is_ascending {}

true=ASC, false=DESC

◆ m_is_multi_value

bool ddl::Index_field::m_is_multi_value {}

Whether it has multi-value.

◆ m_is_v_col

bool ddl::Index_field::m_is_v_col {}

Whether this is a virtual column.

◆ m_prefix_len

size_t ddl::Index_field::m_prefix_len {}

Column prefix length, or 0 if indexing the whole column.


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