The NDB API is a MySQL Cluster application interface that implements transactions. It consists of the following fundamental classes:
represents a connection to a cluster.
Ndb is the main class, and
represents a connection to a database.
meta-information about tables and attributes.
NdbTransaction represents a
NdbOperation represents an
operation using a primary key.
an operation performing a full table scan.
represents an operation using a unique hash index.
represents an operation performing a scan using an ordered
NdbRecAttr represents an
In addition, the NDB API defines an
NdbError structure, which
contains the specification for an error.
It is also possible to receive events triggered when data in the
database is changed. This is accomplished through the
NDB event notification API is not
supported prior to MySQL 5.1.
For more information about these classes as well as some additional auxiliary classes not listed here, see Section 2.3, “NDB API Classes, Interfaces, and Structures”.