Abstract
The section discusses the Undofile
class and
its public methods.
Parent class. NdbDictionary
Child classes. None
Description.
The Undofile
class models a Cluster Disk Data
undofile, which stores data used for rolling back transactions.
In MySQL 5.1, only unindexed column data can be stored on disk. Indexes and indexes columns continue to be stored in memory as with previous versions of MySQL Cluster.
Versions of MySQL prior to 5.1 do not support Disk Data storage
and so do not support undofile; thus the
Undofile
class is unavailable for NDB API
applications written against these MySQL versions.
Methods. The following table lists the public methods of this class and the purpose or use of each method:
Method | Purpose / Use |
---|---|
Undofile() |
Class constructor |
~Undofile() |
Virtual destructor |
getPath() |
Gets the undofile's file system path |
getSize() |
Gets the size of the undofile |
getLogfileGroup() |
Gets the name of the logfile group to which the undofile belongs |
getLogfileGroupId() |
Gets the ID of the logfile group to which the undofile belongs |
getNode() |
Gets the node where the undofile is located |
getFileNo() |
Gets the number of the undofile in the logfile group |
getObjectStatus() |
Gets the undofile's Status
|
getObjectVersion() |
Gets the undofile's object version |
getObjectId() |
Gets the undofile's object ID |
setPath() |
Sets the file system path for the undofile |
setSize() |
Sets the undofile's size |
setLogfileGroup() |
Sets the undofile's logfile group using the name of the logfile group or
a reference to the corresponding
LogfileGroup object |
setNode() |
Sets the node on which the undofile is located |
For detailed descriptions, signatures, and examples of use for each
of these methods, see Section 2.3.23.1, “Undofile
Methods”.
Types.
The Undofile
class defines no public types.
Class diagram.
This diagram shows all the available methods of the
Undofile
class: