MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
NdbIndexImpl () | |
NdbIndexImpl (NdbDictionary::Index &) | |
void | init () |
int | setName (const char *name) |
const char * | getName () const |
int | setTable (const char *table) |
const char * | getTable () const |
const NdbTableImpl * | getIndexTable () const |
Public Member Functions inherited from NdbDictionary::Index | |
Index (const char *name="") | |
virtual | ~Index () |
int | addColumn (const Column &c) |
int | addColumnName (const char *name) |
int | addIndexColumn (const char *name) |
int | addColumnNames (unsigned noOfNames, const char **names) |
int | addIndexColumns (int noOfNames, const char **names) |
void | setType (Type type) |
void | setLogging (bool enable) |
void | setStoredIndex (bool x) |
bool | getStoredIndex () const |
bool | getTemporary () const |
void | setTemporary (bool) |
unsigned | getNoOfColumns () const |
int | getNoOfIndexColumns () const |
const Column * | getColumn (unsigned no) const |
const char * | getIndexColumn (int no) const |
Type | getType () const |
bool | getLogging () const |
virtual Object::Status | getObjectStatus () const |
virtual int | getObjectVersion () const |
virtual int | getObjectId () const |
const NdbRecord * | getDefaultRecord () const |
Public Member Functions inherited from NdbDictObjectImpl | |
bool | change () |
Static Public Member Functions | |
static NdbIndexImpl & | getImpl (NdbDictionary::Index &t) |
static NdbIndexImpl & | getImpl (const NdbDictionary::Index &t) |
Static Public Member Functions inherited from NdbDictObjectImpl | |
static NdbDictObjectImpl & | getImpl (NdbDictionary::ObjectId &t) |
static const NdbDictObjectImpl & | getImpl (const NdbDictionary::ObjectId &t) |
Public Attributes | |
BaseString | m_internalName |
BaseString | m_externalName |
BaseString | m_tableName |
Uint32 | m_table_id |
Uint32 | m_table_version |
Vector< NdbColumnImpl * > | m_columns |
Vector< int > | m_key_ids |
bool | m_logging |
bool | m_temporary |
NdbTableImpl * | m_table |
NdbDictionary::Index * | m_facade |
Public Attributes inherited from NdbDictObjectImpl | |
int | m_id |
Uint32 | m_version |
NdbDictionary::Object::Type | m_type |
NdbDictionary::Object::Status | m_status |
Definition at line 304 of file NdbDictionaryImpl.hpp.
NdbIndexImpl::NdbIndexImpl | ( | ) |
Definition at line 1359 of file NdbDictionaryImpl.cpp.
const char * NdbIndexImpl::getName | ( | ) | const |
Get the name of an index
Reimplemented from NdbDictionary::Index.
Definition at line 1393 of file NdbDictionaryImpl.cpp.
const char * NdbIndexImpl::getTable | ( | ) | const |
Get the name of the underlying table being indexed
Reimplemented from NdbDictionary::Index.
Definition at line 1405 of file NdbDictionaryImpl.cpp.
int NdbIndexImpl::setName | ( | const char * | name | ) |
Set the name of an index
Reimplemented from NdbDictionary::Index.
Definition at line 1387 of file NdbDictionaryImpl.cpp.
int NdbIndexImpl::setTable | ( | const char * | name | ) |
Define the name of the table to be indexed
Reimplemented from NdbDictionary::Index.
Definition at line 1399 of file NdbDictionaryImpl.cpp.