- 18.104.22.168 NdbDictionary::getEmptyBitmask()
- 22.214.171.124 NdbDictionary::getFirstAttrId()
- 126.96.36.199 NdbDictionary::getNextAttrId()
- 188.8.131.52 NdbDictionary::getNullBitOffset()
- 184.108.40.206 NdbDictionary::getOffset()
- 220.127.116.11 NdbDictionary::getRecordIndexName()
- 18.104.22.168 NdbDictionary::getRecordRowLength()
- 22.214.171.124 NdbDictionary::getRecordTableName()
- 126.96.36.199 NdbDictionary::getRecordType()
- 188.8.131.52 NdbDictionary::getValuePtr()
- 184.108.40.206 NdbDictionary::isNull()
- 220.127.116.11 NdbDictionary::setNull()
This class provides meta-information about database objects, such as tables, columns, and indexes.
While the preferred method of database object creation and
deletion is through the MySQL Server,
NdbDictionary also permits the developer to
perform these tasks through the NDB API.
Parent class. None
Description. This is a data dictionary class that supports enquiries about tables, columns, and indexes. It also provides ways to define these database objects and to remove them. Both sorts of functionality are supplied using inner classes that model these objects. These include the following inner classes:
Object subclasses model
the tablespaces, logfile groups, datafiles, and undofiles required
for working with NDB Cluster Disk Data tables (introduced in MySQL
5.1), as well as foreign keys (NDB Cluster 7.3 and later).
Tables and indexes created using
cannot be viewed from the MySQL Server.
Dropping indexes through the NDB API that were created originally from an NDB Cluster causes inconsistencies. It is possible that a table from which one or more indexes have been dropped using the NDB API will no longer be usable by MySQL following such operations. In this event, the table must be dropped, and then re-created using MySQL to make it accessible to MySQL once more.
NdbDictionary itself has no public instance
methods, only static methods that are used for working with
NdbRecord objects. Operations not
NdbRecord are accomplished by means of
NdbDictionary subclass instance methods. The
following table lists the public methods of
NdbDictionary and the purpose or use of each
Table 2.31 NdbDictionary class methods and descriptions
||Returns an empty column presence bitmask which can be used with
||Get the first attribute ID specified by a given
||Gets the name of the index object referred to by an NdbRecord|
||Get the number of bytes needed to store one row of data using a given
||Gets the name of the table object referred to by an NdbRecord|
||Gets the RecordType of an NdbRecord|
||Returns a pointer to the beginning of stored data specified by attribute
||Show whether the null bit for a column is true or false|
||Set a column's null bit|
For the numeric equivalents to enumerations of
NdbDictionary subclasses, see the file
in the NDB Cluster source tree.