Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Dictionary::getIndex()

Description.  This method retrieves a pointer to an index, given the name of the index and the name of the table to which the table belongs.


const Index* getIndex
      const char* iName,
      const char* tName
    ) const

Parameters.  Two parameters are required:

  • The name of the index (iName)

  • The name of the table to which the index belongs (tName)

Both of these are string values, represented by character pointers.

Return value.  A pointer to an Index. See Section 2.3.11, “The Index Class”, for information about this object.