Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Table::getPartitionId()

Description.  Gets a table partition ID given its hash value.


Uint32 getPartitionId
      Uint32 hashvalue
    ) const

Parameters.  A hashvalue. Note that if the table has not actually been retrieved (using, for example, getTableId()), then the result is likely not to be accurate or useful.

Return value.  The identifier of the partition corresponding to the hashvalue.

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.