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

#include <NdbQueryBuilder.hpp>

Public Member Functions

void destroy ()
const NdbQueryDefprepare ()
NdbConstOperandconstValue (Int32 value)
NdbConstOperandconstValue (Uint32 value)
NdbConstOperandconstValue (Int64 value)
NdbConstOperandconstValue (Uint64 value)
NdbConstOperandconstValue (double value)
NdbConstOperandconstValue (const char *value)
NdbConstOperandconstValue (const void *value, Uint32 len)
NdbParamOperandparamValue (const char *name=0)
NdbLinkedOperandlinkedValue (const NdbQueryOperationDef *, const char *attr)
const NdbQueryLookupOperationDefreadTuple (const NdbDictionary::Table *, const NdbQueryOperand *const keys[], const NdbQueryOptions *options=0, const char *ident=0)
const NdbQueryLookupOperationDefreadTuple (const NdbDictionary::Index *, const NdbDictionary::Table *, const NdbQueryOperand *const keys[], const NdbQueryOptions *options=0, const char *ident=0)
const
NdbQueryTableScanOperationDef
scanTable (const NdbDictionary::Table *, const NdbQueryOptions *options=0, const char *ident=0)
const
NdbQueryIndexScanOperationDef
scanIndex (const NdbDictionary::Index *, const NdbDictionary::Table *, const NdbQueryIndexBound *bound=0, const NdbQueryOptions *options=0, const char *ident=0)

Static Public Member Functions

static NdbQueryBuildercreate ()

Friends

class NdbQueryBuilderImpl

Error Handling

const NdbErrorgetNdbError () const
NdbQueryBuilderImpl & getImpl () const

Detailed Description

The Query builder constructs a NdbQueryDef which is a collection of (possibly linked) NdbQueryOperationDefs Each NdbQueryOperationDef may use NdbQueryOperands to specify keys and bounds.

LIFETIME:

  • The NdbQueryDef produced by the ::prepare() method has a lifetime until it is explicit released by NdbQueryDef::release()

Definition at line 363 of file NdbQueryBuilder.hpp.

Member Function Documentation

NdbQueryBuilder * NdbQueryBuilder::create ( )
static

Allocate an instance.

Returns
New instance, or NULL if allocation failed.

Definition at line 692 of file NdbQueryBuilder.cpp.

Here is the caller graph for this function:

void NdbQueryBuilder::destroy ( )

Release this object and any resources held by it.

Definition at line 715 of file NdbQueryBuilder.cpp.

Here is the caller graph for this function:

const NdbError & NdbQueryBuilder::getNdbError ( ) const

Get error object with information about the latest error.

Returns
An error object with information about the latest error.

Definition at line 733 of file NdbQueryBuilder.cpp.

Here is the caller graph for this function:


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