1.3.2 Application Program Basics

The main structure of an application program is as follows:

  1. Connect to a cluster using the Ndb_cluster_connection object.

  2. Initiate a database connection by constructing and initialising one or more Ndb objects.

  3. Identify the tables, columns, and indexes on which you wish to operate, using NdbDictionary and one or more of its subclasses.

  4. Define and execute transactions using the NdbTransaction class.

  5. Delete Ndb objects.

  6. Terminate the connection to the cluster (terminate an instance of Ndb_cluster_connection).

Download this Manual
PDF (US Ltr) - 4.8Mb
PDF (A4) - 4.8Mb
EPUB - 1.9Mb
HTML Download (TGZ) - 1.8Mb
HTML Download (Zip) - 1.9Mb
User Comments
Sign Up Login You must be logged in to post a comment.