Chapter 2 The NDB API

Table of Contents

2.1 Getting Started with the NDB API
2.1.1 Compiling and Linking NDB API Programs
2.1.2 Connecting to the Cluster
2.1.3 Mapping MySQL Database Object Names and Types to NDB
2.2 The NDB API Class Hierarachy
2.3 NDB API Classes, Interfaces, and Structures
2.3.1 The AutoGrowSpecification Structure
2.3.2 The Column Class
2.3.3 The Datafile Class
2.3.4 The Dictionary Class
2.3.5 The Element Structure
2.3.6 The Event Class
2.3.7 The GetValueSpec Structure
2.3.8 The HashMap Class
2.3.9 The Index Class
2.3.10 The IndexBound Structure
2.3.11 The LogfileGroup Class
2.3.12 The List Class
2.3.13 The Key_part_ptr Structure
2.3.14 The Ndb Class
2.3.15 The Ndb_cluster_connection Class
2.3.16 The NdbBlob Class
2.3.17 The NdbDictionary Class
2.3.18 The NdbError Structure
2.3.19 The NdbEventOperation Class
2.3.20 The NdbIndexOperation Class
2.3.21 The NdbIndexScanOperation Class
2.3.22 The NdbInterpretedCode Class
2.3.23 The NdbOperation Class
2.3.24 The NdbRecAttr Class
2.3.25 The NdbRecord Interface
2.3.26 The NdbScanFilter Class
2.3.27 The NdbScanOperation Class
2.3.28 The NdbTransaction Class
2.3.29 The Object Class
2.3.30 The OperationOptions Structure
2.3.31 The PartitionSpec Structure
2.3.32 The RecordSpecification Structure
2.3.33 The ScanOptions Structure
2.3.34 The SetValueSpec Structure
2.3.35 The Table Class
2.3.36 The Tablespace Class
2.3.37 The Undofile Class
2.4 NDB API Examples
2.4.1 Using Synchronous Transactions
2.4.2 Using Synchronous Transactions and Multiple Clusters
2.4.3 Handling Errors and Retrying Transactions
2.4.4 Basic Scanning Example
2.4.5 Using Secondary Indexes in Scans
2.4.6 Using NdbRecord with Hash Indexes
2.4.7 Comparing RecAttr and NdbRecord
2.4.8 NDB API Event Handling Example
2.4.9 Basic BLOB Handling Example
2.4.10 Handling BLOBs Using NdbRecord

Abstract

This chapter contains information about the NDB API, which is used to write applications that access data in the NDB storage engine.