MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CrundNdbApiOperations Class Reference

#include <CrundNdbApiOperations.hpp>

Collaboration diagram for CrundNdbApiOperations:

Public Member Functions

void init (const char *mgmd_conn_str)
void close ()
void initConnection (const char *catalog, const char *schema, NdbOperation::LockMode defaultLockMode)
void closeConnection ()
void clearData ()
void delByScan (const NdbDictionary::Table *table, int &count, bool batch)
void ins (const NdbDictionary::Table *table, int from, int to, bool setAttrs, bool batch)
void delByPK (const NdbDictionary::Table *table, int from, int to, bool batch)
void setByPK (const NdbDictionary::Table *table, int from, int to, bool batch)
void getByPK_bb (const NdbDictionary::Table *table, int from, int to, bool batch)
void getByPK_ar (const NdbDictionary::Table *table, int from, int to, bool batch)
void setVarbinary (const NdbDictionary::Table *table, int from, int to, bool batch, int length)
void getVarbinary (const NdbDictionary::Table *table, int from, int to, bool batch, int length)
void setVarchar (const NdbDictionary::Table *table, int from, int to, bool batch, int length)
void getVarchar (const NdbDictionary::Table *table, int from, int to, bool batch, int length)
void setB0ToA (int nOps, bool batch)
void navB0ToA (int nOps, bool batch)
void navB0ToAalt (int nOps, bool batch)
void navAToB0 (int nOps, bool forceSend)
void navAToB0alt (int nOps, bool forceSend)
void nullB0ToA (int nOps, bool batch)

Public Attributes

const CrundModelmodel

Protected Member Functions

void beginTransaction ()
void executeOperations ()
void commitTransaction ()
void closeTransaction ()
void setVar (const NdbDictionary::Table *table, int attr_cvar, int from, int to, bool batch, const char *str)
void getVar (const NdbDictionary::Table *table, int attr_cvar, int from, int to, bool batch, const char *str)

Protected Attributes

Ndb_cluster_connectionmgmd
Ndbndb
NdbTransactiontx
NdbOperation::LockMode ndbOpLockMode

Detailed Description

Implements the benchmark's basic database operations.

Definition at line 65 of file CrundNdbApiOperations.hpp.


The documentation for this class was generated from the following files: