MySQL 8.2.0
Source Code Documentation
ddl::Index_defn Struct Reference

Definition of an index being created. More...

#include <ddl0ddl.h>

Public Attributes

const char * m_name {}
 Index name. More...
 
bool m_rebuild {}
 Whether the table is rebuilt. More...
 
size_t m_ind_type {}
 0, DICT_UNIQUE, or DICT_CLUSTERED More...
 
size_t m_key_number {ULINT_UNDEFINED}
 MySQL key number, or ULINT_UNDEFINED if none. More...
 
size_t m_n_fields {}
 Number of fields in index. More...
 
Index_fieldm_fields {}
 Field definitions. More...
 
st_mysql_ftparserm_parser {}
 Fulltext parser plugin. More...
 
bool m_is_ngram {}
 true if it's ngram parser More...
 
bool m_srid_is_valid {}
 true if we want to check SRID while inserting to index More...
 
uint32_t m_srid {}
 SRID obtained from dd column. More...
 

Detailed Description

Definition of an index being created.

Member Data Documentation

◆ m_fields

Index_field* ddl::Index_defn::m_fields {}

Field definitions.

◆ m_ind_type

size_t ddl::Index_defn::m_ind_type {}

0, DICT_UNIQUE, or DICT_CLUSTERED

◆ m_is_ngram

bool ddl::Index_defn::m_is_ngram {}

true if it's ngram parser

◆ m_key_number

size_t ddl::Index_defn::m_key_number {ULINT_UNDEFINED}

MySQL key number, or ULINT_UNDEFINED if none.

◆ m_n_fields

size_t ddl::Index_defn::m_n_fields {}

Number of fields in index.

◆ m_name

const char* ddl::Index_defn::m_name {}

Index name.

◆ m_parser

st_mysql_ftparser* ddl::Index_defn::m_parser {}

Fulltext parser plugin.

◆ m_rebuild

bool ddl::Index_defn::m_rebuild {}

Whether the table is rebuilt.

◆ m_srid

uint32_t ddl::Index_defn::m_srid {}

SRID obtained from dd column.

◆ m_srid_is_valid

bool ddl::Index_defn::m_srid_is_valid {}

true if we want to check SRID while inserting to index


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