[+/-]
Abstract
This section lists and describes the public methods of the
NdbIndexOperation class.
This class has no public constructor. To create an instance of
NdbIndexOperation, it is
necessary to use the
NdbTransaction::getNdbIndexOperation()
method.
Description.
This method defines the
NdbIndexOperation as a
DELETE operation. When the
NdbTransaction::execute()
method is invoked, the operation deletes a tuple from the
table.
Signature.
int deleteTuple
(
void
)
Parameters. None.
Return value.
0 on success, -1 on
failure.
Description. Gets the index, given an index operation.
Signature.
const NdbDictionary::Index* getIndex
(
void
) const
Parameters. None.
Return value.
A pointer to an Index object.
Description.
This method defines the
NdbIndexOperation as a
READ operation. When the
NdbTransaction::execute()
method is invoked, the operation reads a tuple.
Signature.
int readTuple
(
LockMode mode
)
Parameters.
mode specifies the locking mode
used by the read operation. See
Section 2.3.23.1.2, “The NdbOperation::LockMode Type”, for possible
values.
Return value.
0 on success, -1 on
failure.
Description.
This method defines the
NdbIndexOperation as an
UPDATE operation. When the
NdbTransaction::execute()
method is invoked, the operation updates a tuple found in the
table.
Signature.
int updateTuple
(
void
)
Parameters. None.
Return value.
0 on success, -1 on
failure.
