NdbIndexOperation Class Reference

Class of index operations for use in transactions. More...

#include <NdbIndexOperation.hpp>

Inheritance diagram for NdbIndexOperation:

NdbOperation

List of all members.

Public Member Functions

Define Standard Operation

Detailed Description

Class of index operations for use in transactions.

Member Function Documentation

int NdbIndexOperation::deleteTuple (  )  [virtual]

Define the NdbIndexOperation to be a standard operation of type deleteTuple.

When calling NdbTransaction::execute, this operation deletes a tuple.

Returns:
0 if successful otherwise -1.

Reimplemented from NdbOperation.

const NdbDictionary::Index* NdbIndexOperation::getIndex (  )  const

Get index object for this operation

int NdbIndexOperation::insertTuple (  )  [virtual]

insert is not allowed

Reimplemented from NdbOperation.

int NdbIndexOperation::readTuple ( LockMode   )  [virtual]

Define the NdbIndexOperation to be a standard operation of type readTuple. When calling NdbTransaction::execute, this operation reads a tuple.

Returns:
0 if successful otherwise -1.

Reimplemented from NdbOperation.

int NdbIndexOperation::updateTuple (  )  [virtual]

Define the NdbIndexOperation to be a standard operation of type updateTuple.

When calling NdbTransaction::execute, this operation updates a tuple in the table.

Returns:
0 if successful otherwise -1.

Reimplemented from NdbOperation.


Documentation generated Wed Apr 22 09:15:28 2009 from mysql source files.
© 2003-2004 MySQL AB