Abstract
This section describes the NdbIndexOperation
class and its public methods.
Parent class. NdbOperation
Child classes. None
Description.
NdbIndexOperation
represents an index operation
for use in transactions. This class inherits from
NdbOperation
; see
Section 2.3.15, “The NdbOperation
Class”, for more information.
NdbIndexOperation
can be used only with unique
hash indexes; to work with ordered indexes, use
NdbIndexScanOperation
. See
Section 2.3.13, “The NdbIndexScanOperation
Class”.
Methods. The following table lists the public methods of this class and the purpose or use of each method:
Method | Purpose / Use |
---|---|
getIndex() |
Gets the index used by the operation |
readTuple() |
Reads a tuple from a table |
updateTuple() |
Updates an existing tuple in a table |
deleteTuple() |
Removes a tuple from a table |
Index operations are not permitted to insert tuples.
For detailed descriptions, signatures, and examples of use for each
of these methods, see Section 2.3.15.2, “NdbOperation
Methods”.
Types.
The NdbIndexOperation
class defines no public
types of its own.
Class diagram.
This diagram shows all the available methods of the
NdbIndexOperation
class:
For more information about the use of
NdbIndexOperation
, see
Section 1.3.2.3.1, “Single-row operations”.