Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.3.15 Datafile::setTablespace()

Description.  This method is used to associate the datafile with a tablespace.

Signatures.  setTablespace() can be invoked in either of two ways, listed here:

  • Using the name of the tablespace, as shown here:

    void setTablespace
        (
          const char* name
        )
  • Using a reference to a Tablespace object.

    void setTablespace
        (
          const class Tablespace& tablespace
        )

Parameters.  This method takes a single parameter, which can be either one of the following:

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

  • A reference tablespace to the corresponding Tablespace object.

Return value.  None.


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