The main structure of an application program is as follows:
Connect to a cluster using the
Ndb_cluster_connection
object.
Initiate a database connection by constructing and
initialising one or more Ndb
objects.
Identify the tables, columns, and indexes on which you wish
to operate, using NdbDictionary
and one
or more of its subclasses.
Define and execute transactions using the
NdbTransaction
class.
Delete Ndb
objects.
Terminate the connection to the cluster (terminate an
instance of Ndb_cluster_connection
).