The NDB API is an NDB Cluster application interface that implements transactions. It consists of the following fundamental classes:
Ndb_cluster_connectionrepresents a connection to a cluster.Ndbis the main class, and represents a connection to a database.NdbDictionaryprovides meta-information about tables and attributes.NdbTransactionrepresents a transaction.NdbOperationrepresents an operation using a primary key.NdbScanOperationrepresents an operation performing a full table scan.NdbIndexOperationrepresents an operation using a unique hash index.NdbIndexScanOperationrepresents an operation performing a scan using an ordered index.NdbRecAttrrepresents an attribute value.
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
NdbEventOperation class.
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”.