Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.4.31 Dictionary::getTablespace()

Description.  Given either the name or ID of a tablespace, this method returns the corresponding Tablespace object.

Signatures.  This method can be invoked in either of ways, as show here:

  • Using the tablespace name:

    Tablespace getTablespace
        (
          const char* name
        )
  • Using the tablespace ID:

    Tablespace getTablespace
        (
          Uint32 id
        )

Parameters.  Either one of the following:

  • The name of the tablespace, a string (as a character pointer)

  • The unsigned 32-bit integer id of the tablespace

Return value.  A Tablespace object, as discussed in Section 2.3.38, “The Tablespace Class”.