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

#include <NdbQueryBuilder.hpp>

Inheritance diagram for NdbQueryOperationDef:

Public Types

enum  Type { PrimaryKeyAccess, UniqueIndexAccess, TableScan, OrderedIndexScan }

Public Member Functions

Uint32 getQueryOperationIx () const
Uint32 getNoOfParentOperations () const
const NdbQueryOperationDefgetParentOperation (Uint32 i) const
Uint32 getNoOfChildOperations () const
const NdbQueryOperationDefgetChildOperation (Uint32 i) const
Type getType () const
const NdbDictionary::TablegetTable () const
const NdbDictionary::IndexgetIndex () const
NdbQueryOperationDefImpl & getImpl () const

Static Public Member Functions

static const char * getTypeName (Type type)

Protected Member Functions

 NdbQueryOperationDef (NdbQueryOperationDefImpl &impl)

Detailed Description

NdbQueryOperationDef defines an operation on a single NDB table

Definition at line 209 of file NdbQueryBuilder.hpp.

Member Enumeration Documentation

Different access / query operation types

Enumerator:
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.

Member Function Documentation

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.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Uint32 NdbQueryOperationDef::getQueryOperationIx ( ) const

Get the ordinal position of this operation within the QueryDef.

Definition at line 622 of file NdbQueryBuilder.cpp.

Here is the call graph for this function:

const NdbDictionary::Table * NdbQueryOperationDef::getTable ( ) const

Get table object for this operation

Definition at line 677 of file NdbQueryBuilder.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


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