This section covers the
Child classes. None
Datafile class models a Cluster Disk Data
datafile, which is used to store Disk Data table data.
Currently, only unindexed column data can be stored on disk. Indexes and indexed columns are stored in memory.
MySQL Cluster prior to MySQL 5.1 did not support Disk Data storage
and so did not support datafiles; thus the
Datafile class is unavailable for NDB API
applications written against these older releases.
Methods. The following table lists the public methods of this class and the purpose or use of each method:
|Method||Purpose / Use|
||Gets the number of the datafile in the tablespace|
||Gets the amount of free space in the datafile|
||Gets the ID of the node where the datafile is located|
||Gets the datafile's object ID|
||Gets the datafile's object status|
||Gets the datafile's object version|
||Gets the file system path to the datafile|
||Gets the size of the datafile|
||Gets the name of the tablespace to which the datafile belongs|
||Gets the ID of the tablespace to which the datafile belongs|
||Sets the Cluster node where the datafile is to be located|
||Sets the name and location of the datafile on the file system|
||Sets the datafile's size|
||Sets the tablespace to which the datafile belongs|
For detailed descriptions, signatures, and examples of use for each
of these methods, see Section 184.108.40.206, “
Datafile class defines no public types.
This diagram shows all the available methods of the