MySQL  8.0.20
Source Code Documentation
index_def_t Struct Reference

Definition of an index being created. More...

#include <row0merge.h>

Public Attributes

const char * name
 index name More...
 
bool rebuild
 whether the table is rebuilt More...
 
ulint ind_type
 0, DICT_UNIQUE, or DICT_CLUSTERED More...
 
ulint key_number
 MySQL key number, or ULINT_UNDEFINED if none. More...
 
ulint n_fields
 number of fields in index More...
 
index_field_tfields
 field definitions More...
 
st_mysql_ftparserparser
 fulltext parser plugin More...
 
bool is_ngram
 true if it's ngram parser More...
 
bool srid_is_valid
 true if we want to check SRID while inserting to index More...
 
uint32_t srid
 SRID obtained from dd column. More...
 

Detailed Description

Definition of an index being created.

Member Data Documentation

◆ fields

index_field_t* index_def_t::fields

field definitions

◆ ind_type

ulint index_def_t::ind_type

0, DICT_UNIQUE, or DICT_CLUSTERED

◆ is_ngram

bool index_def_t::is_ngram

true if it's ngram parser

◆ key_number

ulint index_def_t::key_number

MySQL key number, or ULINT_UNDEFINED if none.

◆ n_fields

ulint index_def_t::n_fields

number of fields in index

◆ name

const char* index_def_t::name

index name

◆ parser

st_mysql_ftparser* index_def_t::parser

fulltext parser plugin

◆ rebuild

bool index_def_t::rebuild

whether the table is rebuilt

◆ srid

uint32_t index_def_t::srid

SRID obtained from dd column.

◆ srid_is_valid

bool index_def_t::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: