MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NdbIndexImpl Class Reference
Inheritance diagram for NdbIndexImpl:
Collaboration diagram for NdbIndexImpl:

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 NdbTableImplgetIndexTable () 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 ColumngetColumn (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 NdbRecordgetDefaultRecord () const
- Public Member Functions inherited from NdbDictObjectImpl
bool change ()

Static Public Member Functions

static NdbIndexImplgetImpl (NdbDictionary::Index &t)
static NdbIndexImplgetImpl (const NdbDictionary::Index &t)
- Static Public Member Functions inherited from NdbDictObjectImpl
static NdbDictObjectImplgetImpl (NdbDictionary::ObjectId &t)
static const NdbDictObjectImplgetImpl (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
NdbTableImplm_table
NdbDictionary::Indexm_facade
- Public Attributes inherited from NdbDictObjectImpl
int m_id
Uint32 m_version
NdbDictionary::Object::Type m_type
NdbDictionary::Object::Status m_status

Additional Inherited Members

- Public Types inherited from NdbDictionary::Index
enum  Type { Undefined = 0, UniqueHashIndex = 3, OrderedIndex = 6 }
- Public Types inherited from NdbDictionary::Object
enum  Status {
  New, Changed, Retrieved, Invalid,
  Altered
}
enum  Type {
  TypeUndefined = 0, SystemTable = 1, UserTable = 2, UniqueHashIndex = 3,
  OrderedIndex = 6, HashIndexTrigger = 7, IndexTrigger = 8, SubscriptionTrigger = 9,
  ReadOnlyConstraint = 10, TableEvent = 11, Tablespace = 20, LogfileGroup = 21,
  Datafile = 22, Undofile = 23, ReorgTrigger = 19, HashMap = 24
}
enum  State {
  StateUndefined = 0, StateOffline = 1, StateBuilding = 2, StateDropping = 3,
  StateOnline = 4, StateBackup = 5, StateBroken = 9
}
enum  Store { StoreUndefined = 0, StoreNotLogged = 1, StorePermanent = 2 }
enum  FragmentType {
  FragUndefined = 0, FragSingle = 1, FragAllSmall = 2, FragAllMedium = 3,
  FragAllLarge = 4, DistrKeyHash = 5, DistrKeyLin = 6, UserDefined = 7,
  HashMapPartition = 9
}
- Protected Member Functions inherited from NdbDictObjectImpl
 NdbDictObjectImpl (NdbDictionary::Object::Type type)

Detailed Description

Definition at line 304 of file NdbDictionaryImpl.hpp.

Constructor & Destructor Documentation

NdbIndexImpl::NdbIndexImpl ( )

NdbIndexImpl

Definition at line 1359 of file NdbDictionaryImpl.cpp.

Member Function Documentation

const char * NdbIndexImpl::getName ( ) const

Get the name of an index

Reimplemented from NdbDictionary::Index.

Definition at line 1393 of file NdbDictionaryImpl.cpp.

Here is the call graph for this function:

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.

Here is the call graph for this function:

int NdbIndexImpl::setName ( const char *  name)

Set the name of an index

Reimplemented from NdbDictionary::Index.

Definition at line 1387 of file NdbDictionaryImpl.cpp.

Here is the call graph for this function:

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.

Here is the call graph for this function:


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