Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.11.5 Index::getColumn()

Description.  This method retrieves the column at the specified position within the index.

Signature. 

const Column* getColumn
    (
      unsigned no
    ) const

Parameters.  The ordinal position number no of the column, as an unsigned integer. Use the getNoOfColumns() method to determine how many columns make up the index—see Section 2.3.11.8, “Index::getNoOfColumns()”, for details.

Return value.  The column having position no in the index, as a pointer to an instance of Column. See Section 2.3.2, “The Column Class”.


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