Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Index::getColumn()

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


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, “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”.