MySQL 5.6.14 Source Code Document
|
#include <NdbQueryBuilder.hpp>
Public Types | |
enum | Type { PrimaryKeyAccess, UniqueIndexAccess, TableScan, OrderedIndexScan } |
Public Member Functions | |
Uint32 | getQueryOperationIx () const |
Uint32 | getNoOfParentOperations () const |
const NdbQueryOperationDef * | getParentOperation (Uint32 i) const |
Uint32 | getNoOfChildOperations () const |
const NdbQueryOperationDef * | getChildOperation (Uint32 i) const |
Type | getType () const |
const NdbDictionary::Table * | getTable () const |
const NdbDictionary::Index * | getIndex () const |
NdbQueryOperationDefImpl & | getImpl () const |
Static Public Member Functions | |
static const char * | getTypeName (Type type) |
Protected Member Functions | |
NdbQueryOperationDef (NdbQueryOperationDefImpl &impl) |
NdbQueryOperationDef defines an operation on a single NDB table
Definition at line 209 of file NdbQueryBuilder.hpp.
Different access / query operation types
PrimaryKeyAccess |
Read using pk. |
UniqueIndexAccess |
Read using unique index. |
TableScan |
Full table scan. |
OrderedIndexScan |
Ordered index scan, optionaly w/ bounds. |
Definition at line 216 of file NdbQueryBuilder.hpp.
NdbQueryOperationDefImpl & NdbQueryOperationDef::getImpl | ( | ) | const |
Get'ers for QueryOperation...DefImpl object. Functions overridden to supply 'impl' casted to the correct '...DefImpl' type for each available interface class.
Definition at line 600 of file NdbQueryBuilder.cpp.
const NdbDictionary::Index * NdbQueryOperationDef::getIndex | ( | ) | const |
Get index object for this operation if relevant, return NULL else.
Definition at line 683 of file NdbQueryBuilder.cpp.
Uint32 NdbQueryOperationDef::getQueryOperationIx | ( | ) | const |
Get the ordinal position of this operation within the QueryDef.
Definition at line 622 of file NdbQueryBuilder.cpp.
const NdbDictionary::Table * NdbQueryOperationDef::getTable | ( | ) | const |
Get table object for this operation
Definition at line 677 of file NdbQueryBuilder.cpp.