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.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.