MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
Operation (class Query &query, Operation *parent) | |
void | verifyRow () |
virtual void | verifyOwnRow ()=0 |
virtual void | buildThis (NdbQueryBuilder &builder, const NdbDictionary::Table &tab)=0 |
void | build (NdbQueryBuilder &builder, const NdbDictionary::Table &tab) |
virtual void | submit ()=0 |
void | compareRows (const char *text, const Row *expected, const Row *actual) const |
Public Attributes | |
Query & | m_query |
const Operation * | m_parent |
Vector< Operation * > | m_children |
const NdbQueryOperationDef * | m_operationDef |
union { | |
const Row * m_resultPtr | |
const char * m_resultCharPtr | |
}; | |
Uint32 | m_operationId |
const Uint32 | m_childNo |
Friends | |
class | Query |
Class representing a single NdbQueryOperation. 'Row' is a template argument, to allow different table defintions.
Definition at line 338 of file spj_sanity_test.cpp.
void SPJSanityTest::Operation::build | ( | NdbQueryBuilder & | builder, |
const NdbDictionary::Table & | tab | ||
) |
Build this and descendants.
Definition at line 595 of file spj_sanity_test.cpp.
|
pure virtual |
Build operation definition.
Implemented in SPJSanityTest::IndexScanOperation, SPJSanityTest::TableScanOperation, SPJSanityTest::IndexLookupOperation, and SPJSanityTest::LookupOperation.
|
pure virtual |
Set up result retrieval before execution.
Implemented in SPJSanityTest::IndexScanOperation, SPJSanityTest::TableScanOperation, SPJSanityTest::IndexLookupOperation, and SPJSanityTest::LookupOperation.
|
pure virtual |
Check that result of this op is ok.
Implemented in SPJSanityTest::IndexScanOperation, SPJSanityTest::TableScanOperation, SPJSanityTest::IndexLookupOperation, and SPJSanityTest::LookupOperation.
void SPJSanityTest::Operation::verifyRow | ( | ) |
Check that result of this op and descendans is ok.
Definition at line 605 of file spj_sanity_test.cpp.
const Operation* SPJSanityTest::Operation::m_parent |
Optional parent operation.
Definition at line 351 of file spj_sanity_test.cpp.
Query& SPJSanityTest::Operation::m_query |
Enclosing NdbQuery.
Definition at line 349 of file spj_sanity_test.cpp.