Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual 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
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.