Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.4.7 Dictionary::createIndex()

Description.  This method creates an index given an instance of Index and possibly an optional instance of Table.

Signature.  This method can be invoked with or without a reference to a table object:

int createIndex
    (
      const Index& index
    )
int createIndex
    (
      const Index& index,
      const Table& table
    )

Parameters.  Required: A reference to an Index object. Optional: A reference to a Table object.

Return value.  0 on success, -1 on failure.


User Comments
Sign Up Login You must be logged in to post a comment.