This section provides information about the
NdbRecord interface.
- Decription
NdbRecordis an interface which provides a mapping to a full or a partial record stored inNDB. In the latter case, it can be used in conjunction with a bitmap to assist in access.- Parent
None.
- Methods
None.
- Types
None.
NdbRecord has no API methods of its own; rather,
it acts as a handle that can be passed between various method calls
for use in many different sorts of operations, including the
following:
Unique key reads and primary key reads
Table scans and index scans
DML operations involving unique keys or primary keys
Operations involving index bounds
The same NdbRecord can be used simultaneously in
multiple operations, transactions, and threads.
An NdbRecord can be created in NDB API programs
by calling
Dictionary::createRecord(). In
addition, a number of NDB API methods have additional declarations
that enable the programmer to leverage NdbRecord:
The following members of
NdbIndexScanOperation and
NdbDictionary can also be used with
NdbRecord scans:
IndexBoundis a structure used to describe index scan bounds.RecordSpecificationis a structure used to specify columns and range offsets.
You can also use NdbRecord in conjunction with
the PartitionSpec structure to
perform scans that take advantage of partition pruning, using
NdbIndexScanOperation::setBound().