InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
contains all necessary information to execute a SQL statement More...
#include <Asts.h>
Classes | |
struct | column_s |
FROM clause column. More... | |
struct | inobject_s |
IN (or NOT IN) row values. More... | |
struct | orderbyitem_s |
ORDER BY fields and order. More... | |
struct | query_s |
all elements for a main or sub-query More... | |
struct | reentry_s |
continuation destination More... | |
struct | results_s |
results of evaulations during query execution, including final results More... | |
Public Types | |
enum | direction_e { FROM_ABOVE = 1, FROM_LEFT = 2, FROM_RIGHT = 3 } |
Ast walking direction. More... | |
Public Member Functions | |
Statement () | |
Statement (class TransactionAgent *taPtrarg, class Schema *schemaPtrarg) | |
create Statement object More... | |
Statement (const Statement &orig) | |
Statement & | operator= (const Statement &orig) |
void | cp (const Statement &orig) |
deep copy of Statement More... | |
virtual | ~Statement () |
query_s | cpquery (const query_s &orig) |
deep copy of query_s instance More... | |
bool | resolveTableFields () |
resolves table and field names to integers More... | |
bool | resolveTableFields2 () |
bool | resolveFieldNames (class Ast *myPosition) |
int64_t | getfieldid (int64_t tableid, const string &fieldName) |
returns fieldid More... | |
bool | stagedPredicate (operatortypes_e op, int64_t tableid, string &leftoperand, string &rightoperand, vector< fieldValue_s > &inValues, const boost::unordered_map< uuRecord_s, stagedRow_s > &stagedRows, boost::unordered_map< uuRecord_s, returnRow_s > &results) |
void | andPredicate (operatortypes_e op, int64_t tableid, string &leftoperand, string &rightoperand, vector< fieldValue_s > &inValues, const boost::unordered_map< uuRecord_s, returnRow_s > &andResults, boost::unordered_map< uuRecord_s, returnRow_s > &results) |
void | execute (class ApiInterface *reentryObject, apifPtr reentryfptr, int64_t reentrypoint, void *reentrydata, class Transaction *transactionPtrarg, const vector< string > ¶metersarg) |
execute SQL statement More... | |
void | searchExpression (int64_t entrypoint, class Ast *astNode) |
perform search expression More... | |
void | branchtotype () |
SELECT, INSERT, UPDATE, DELETE, stored proc branch to. More... | |
void | reenter (int64_t status) |
return to calling function (Statement execution complete) More... | |
void | continueSelect (int64_t entrypoint, class Ast *ignorethis) |
continuation for SELECT statement More... | |
void | continueDelete (int64_t entrypoint, class Ast *ignorethis) |
continuation for DELETE statement More... | |
void | continueInsert (int64_t entrypoint, class Ast *ignorethis) |
continuation for INSERT statement More... | |
void | continueUpdate (int64_t entrypoint, class Ast *ignorethis) |
continuation for UPDATE statement More... | |
void | startQuery () |
begin query execution More... | |
void | subqueryScalar (class Ast *astnode) |
subquery that returns a scalar More... | |
void | subqueryUnique (class Ast *astnode) |
UNIQUE type of subquery. More... | |
void | subqueryExists (class Ast *astnode) |
EXISTS subquery. More... | |
void | subqueryIn (class Ast *astnode) |
subquery returns list of values for IN predicate More... | |
void | abortQuery (int64_t status) |
g-bye More... | |
Public Attributes | |
class TransactionAgent * | taPtr |
class Schema * | schemaPtr |
reentry_s | reentry |
class Transaction * | transactionPtr |
query_s * | currentQuery |
std::vector< query_s > | queries |
std::vector< std::string > | parameters |
ssize_t | queryindex |
contains all necessary information to execute a SQL statement
Ast walking direction.
Enumerator | |
---|---|
FROM_ABOVE | |
FROM_LEFT | |
FROM_RIGHT |
Statement::Statement | ( | class TransactionAgent * | taPtrarg, |
class Schema * | schemaPtrarg | ||
) |
Statement::Statement | ( | const Statement & | orig) |
|
virtual |
Definition at line 2097 of file Asts.cc.
References Statement::inobject_s::expressionlist, Statement::query_s::fieldidAssignments, Statement::query_s::inobject, Statement::query_s::insertColumns, queries, and Statement::query_s::searchCondition.
void Statement::abortQuery | ( | int64_t | status) |
g-bye
status | status code returned to caller |
Definition at line 5803 of file Asts.cc.
References reenter().
Referenced by Transaction::continueSqlDelete(), Transaction::continueSqlInsert(), Transaction::continueSqlPredicate(), Transaction::continueSqlReplace(), Transaction::continueSqlUpdate(), and continueUpdate().
void Statement::andPredicate | ( | operatortypes_e | op, |
int64_t | tableid, | ||
string & | leftoperand, | ||
string & | rightoperand, | ||
vector< fieldValue_s > & | inValues, | ||
const boost::unordered_map< uuRecord_s, returnRow_s > & | andResults, | ||
boost::unordered_map< uuRecord_s, returnRow_s > & | results | ||
) |
not yet functional, possibly gratuitous, redundant to stagedPredicate
Definition at line 3472 of file Asts.cc.
References BOOL, fieldInput_u::boolean, CHAR, fieldInput_u::character, CHARX, compareFields(), Table::fields, FLOAT, fieldInput_u::floating, INT, fieldInput_u::integer, fieldValue_s::isnull, like2Regex(), logfile, OPERAND_FIELDID, OPERATOR_BETWEEN, OPERATOR_EQ, OPERATOR_GT, OPERATOR_GTE, OPERATOR_IN, OPERATOR_ISNOTNULL, OPERATOR_ISNULL, OPERATOR_LIKE, OPERATOR_LT, OPERATOR_LTE, OPERATOR_NE, OPERATOR_NOTBETWEEN, OPERATOR_NOTIN, OPERATOR_NOTLIKE, returnRow_s::row, schemaPtr, fieldValue_s::str, Schema::tables, Ast::toFloat(), UINT, fieldInput_u::uinteger, Table::unmakerow(), fieldValue_s::value, and VARCHAR.
Referenced by Ast::evaluate().
void Statement::branchtotype | ( | ) |
SELECT, INSERT, UPDATE, DELETE, stored proc branch to.
Definition at line 4908 of file Asts.cc.
References APISTATUS_NOTOK, APISTATUS_NULLCONSTRAINT, APISTATUS_PENDING, BOOL, fieldInput_u::boolean, CHAR, fieldInput_u::character, CHARX, CMD_BEGIN, CMD_COMMIT, CMD_DELETE, CMD_INSERT, CMD_ROLLBACK, CMD_SELECT, CMD_STOREDPROCEDURE, CMD_UPDATE, continueDelete(), continueSelect(), continueUpdate(), currentQuery, Schema::domainid, TransactionAgent::domainidsToProcedures, Table::fields, FLOAT, Transaction::getengine(), Transaction::getnextpendingcmdid(), Statement::query_s::haswhere, Field::indextype, Statement::query_s::insertColumns, Statement::results_s::insertValues, INT, fieldInput_u::integer, fieldValue_s::isnull, Statement::query_s::locktype, Table::makerow(), Statement::results_s::newrow, NEWROW, Statement::results_s::newrowengineid, NOCOMMAND, NONUNIQUENOTNULL, Ast::operand, OPERAND_NULL, PAYLOADSUBTRANSACTION, Transaction::pendingcmd, Transaction::pendingcmdid, PRIMITIVE_SQLINSERT, PRIMITIVE_SQLSELECTALL, PRIMITIVE_SQLSELECTALLFORDELETE, PRIMITIVE_SQLSELECTALLFORUPDATE, procedures_s::procedurecreator, procedures_s::proceduredestroyer, reenter(), reentry, Statement::reentry_s::reentryObject, Statement::query_s::results, ApiInterface::results, MessageSubtransactionCmd::row, schemaPtr, searchExpression(), Statement::results_s::searchResults, Transaction::sendTransaction(), Transaction::sqlcmdstate, Transaction::sqlSelectAll(), stagedRow2ReturnRow(), Transaction::stagedRows, startQuery(), Transaction::sqlcmdstate_s::statement, STATUS_NOTOK, Statement::query_s::storedProcedure, fieldValue_s::str, MessageSubtransactionCmd::subtransactionStruct, Transaction::sqlcmdstate_s::tableid, Statement::query_s::tableid, MessageSubtransactionCmd::subtransaction_s::tableid, Schema::tables, taPtr, Ast::toFloat(), transactionPtr, Statement::query_s::type, UINT, fieldInput_u::uinteger, UNIQUENOTNULL, UNORDEREDNOTNULL, fieldValue_s::value, VARCHAR, and WRITELOCK.
Referenced by searchExpression(), and startQuery().
void Statement::continueDelete | ( | int64_t | entrypoint, |
class Ast * | ignorethis | ||
) |
continuation for DELETE statement
entrypoint | |
ignorethis |
Definition at line 5230 of file Asts.cc.
References stagedRow_s::cmd, currentQuery, DELETE, DELETEROW, uuRecord_s::engineid, MessageSubtransactionCmd::subtransaction_s::engineid, Transaction::sqlcmdstate_s::eventwaitcount, Transaction::getnextpendingcmdid(), stagedRow_s::originalRow, PAYLOADSUBTRANSACTION, Transaction::pendingcmd, Transaction::pendingcmdid, PRIMITIVE_SQLDELETE, Statement::query_s::results, returnRow_s::row, uuRecord_s::rowid, MessageSubtransactionCmd::subtransaction_s::rowid, Statement::results_s::searchResults, Transaction::sendTransaction(), Transaction::sqlcmdstate, Transaction::stagedRows, startQuery(), Transaction::sqlcmdstate_s::statement, MessageSubtransactionCmd::subtransactionStruct, uuRecord_s::tableid, MessageSubtransactionCmd::subtransaction_s::tableid, and transactionPtr.
Referenced by branchtotype(), Transaction::continueSqlDelete(), and Transaction::continueSqlPredicate().
void Statement::continueInsert | ( | int64_t | entrypoint, |
class Ast * | ignorethis | ||
) |
continuation for INSERT statement
entrypoint | |
ignorethis |
Definition at line 5517 of file Asts.cc.
References startQuery().
Referenced by Transaction::continueSqlInsert().
void Statement::continueSelect | ( | int64_t | entrypoint, |
class Ast * | ignorethis | ||
) |
continuation for SELECT statement
entrypoint | |
ignorethis |
Definition at line 5190 of file Asts.cc.
References stagedRow_s::cmd, currentQuery, Statement::query_s::fromColumnids, returnRow_s::locktype, stagedRow_s::locktype, NOCOMMAND, stagedRow_s::originalRow, stagedRow_s::originalrowid, Statement::query_s::results, returnRow_s::row, returnRow_s::rowid, schemaPtr, Statement::results_s::searchResults, Statement::results_s::selectResults, Transaction::stagedRows, startQuery(), Statement::query_s::tableid, Schema::tables, transactionPtr, and Table::unmakerow().
Referenced by branchtotype(), Transaction::continueSqlPredicate(), and Transaction::sqlSelectAll().
void Statement::continueUpdate | ( | int64_t | entrypoint, |
class Ast * | ignorethis | ||
) |
continuation for UPDATE statement
entrypoint | |
ignorethis |
Definition at line 5278 of file Asts.cc.
References abortQuery(), APISTATUS_PENDING, BOOL, fieldInput_u::boolean, CHAR, fieldInput_u::character, CHARX, stagedRow_s::cmd, currentQuery, uuRecord_s::engineid, MessageSubtransactionCmd::subtransaction_s::engineid, lockFieldValue_s::engineid, Transaction::sqlcmdstate_s::eventwaitcount, MessageSubtransactionCmd::subtransaction_s::fieldid, Statement::query_s::fieldidAssignments, Table::fields, lockFieldValue_s::fieldVal, MessageSubtransactionCmd::fieldVal, FLOAT, Transaction::getengine(), Transaction::getnextpendingcmdid(), Field::index, INDEXLOCK, INT, fieldInput_u::integer, fieldValue_s::isnull, MessageSubtransactionCmd::subtransaction_s::isrow, Index::isunique, lockFieldValue_s::locktype, stagedRow_s::locktype, Table::makerow(), stagedRow_s::newengineid, NEWROW, stagedRow_s::newRow, Statement::results_s::newrowengineid, stagedRow_s::newrowid, NOCOMMAND, OPERAND_NULL, stagedRow_s::originalengineid, stagedRow_s::originalRow, stagedRow_s::originalrowid, Statement::results_s::originalrowuur, PAYLOADSUBTRANSACTION, Transaction::pendingcmd, Transaction::pendingcmdid, returnRow_s::previoussubtransactionid, stagedRow_s::previoussubtransactionid, PRIMITIVE_SQLREPLACE, PRIMITIVE_SQLUPDATE, Statement::query_s::results, returnRow_s::row, MessageSubtransactionCmd::row, uuRecord_s::rowid, MessageSubtransactionCmd::subtransaction_s::rowid, schemaPtr, Statement::results_s::searchResults, Transaction::sendTransaction(), Statement::results_s::setFields, Transaction::sqlcmdstate, Transaction::stagedRows, startQuery(), Transaction::sqlcmdstate_s::statement, fieldValue_s::str, MessageSubtransactionCmd::subtransactionStruct, uuRecord_s::tableid, Statement::query_s::tableid, MessageSubtransactionCmd::subtransaction_s::tableid, Schema::tables, Ast::toFloat(), transactionPtr, Field::type, UINT, fieldInput_u::uinteger, UNIQUEINDEX, stagedRow_s::uniqueIndices, Table::unmakerow(), UPDATE, Statement::results_s::updateIterator, UPDATEROW, fieldValue_s::value, VARCHAR, and WRITELOCK.
Referenced by branchtotype(), Transaction::continueSqlPredicate(), Transaction::continueSqlReplace(), and Transaction::continueSqlUpdate().
void Statement::cp | ( | const Statement & | orig) |
deep copy of Statement
orig | source Statement |
Definition at line 2013 of file Asts.cc.
References cpquery(), currentQuery, parameters, queries, queryindex, reentry, schemaPtr, taPtr, and transactionPtr.
Referenced by operator=(), and Statement().
Statement::query_s Statement::cpquery | ( | const query_s & | orig) |
deep copy of query_s instance
orig | source query_s |
Definition at line 2030 of file Asts.cc.
References Statement::inobject_s::expressionlist, Statement::query_s::fieldidAssignments, Statement::query_s::fromColumnids, Statement::query_s::fromColumns, Statement::query_s::groupByList, Statement::query_s::hasgroupby, Statement::query_s::hashaving, Statement::query_s::hasnolock, Statement::query_s::hasorderby, Statement::query_s::haswhere, Statement::query_s::inobject, Statement::query_s::insertColumns, Statement::query_s::instance, Statement::query_s::isforupdate, Statement::inobject_s::issubquery, Statement::query_s::locktype, Statement::query_s::orderbylist, Statement::query_s::searchCondition, Statement::inobject_s::subquery, Statement::query_s::table, Statement::query_s::tableid, and Statement::query_s::type.
Referenced by cp().
void Statement::execute | ( | class ApiInterface * | reentryObject, |
apifPtr | reentryfptr, | ||
int64_t | reentrypoint, | ||
void * | reentrydata, | ||
class Transaction * | transactionPtrarg, | ||
const vector< string > & | parametersarg | ||
) |
execute SQL statement
reentryObject | object to continue to after execution |
reentryfptr | function pointer to continue to |
reentrypoint | entry point to continue to |
reentrydata | arbitrary data to pass to continuation |
transactionPtrarg | associated Transaction (NULL if none) |
parametersarg | parameters to SQL statement |
Definition at line 4783 of file Asts.cc.
References CMD_DELETE, CMD_INSERT, CMD_SELECT, CMD_UPDATE, parameters, queries, queryindex, reentry, Statement::reentry_s::reentrydata, Statement::reentry_s::reentryfptr, Statement::reentry_s::reentryObject, Statement::reentry_s::reentrypoint, ApiInterface::results, startQuery(), and transactionPtr.
Referenced by ApiInterface::execStatement(), and Pg::executeStatement().
int64_t Statement::getfieldid | ( | int64_t | tableid, |
const string & | fieldName | ||
) |
returns fieldid
tableid | tableid |
fieldName | name of field |
Definition at line 2375 of file Asts.cc.
References Schema::fieldNameToId, and schemaPtr.
Referenced by resolveFieldNames(), and resolveTableFields2().
void Statement::reenter | ( | int64_t | status) |
return to calling function (Statement execution complete)
status |
Definition at line 5170 of file Asts.cc.
References NOCOMMAND, Transaction::pendingcmd, Transaction::pendingcmdid, reentry, Statement::reentry_s::reentrydata, Statement::reentry_s::reentryfptr, Statement::reentry_s::reentryObject, Statement::reentry_s::reentrypoint, ApiInterface::results, ApiInterface::statementPtr, and transactionPtr.
Referenced by abortQuery(), branchtotype(), and startQuery().
bool Statement::resolveFieldNames | ( | class Ast * | myPosition) |
field name resolution for resolveTableFields
myPosition | Ast with field name as operand |
Definition at line 2283 of file Asts.cc.
References currentQuery, FROM_ABOVE, FROM_LEFT, FROM_RIGHT, getfieldid(), Ast::isoperator, Ast::leftchild, Ast::operand, OPERAND_FIELDID, OPERAND_IDENTIFIER, Ast::parent, Ast::rightchild, and Statement::query_s::tableid.
Referenced by resolveTableFields2().
bool Statement::resolveTableFields | ( | ) |
resolves table and field names to integers
Definition at line 2128 of file Asts.cc.
References CMD_DELETE, CMD_INSERT, CMD_SELECT, CMD_UPDATE, currentQuery, queries, resolveTableFields2(), and Statement::query_s::type.
Referenced by Pg::executeStatement(), and TransactionAgent::newstatement().
bool Statement::resolveTableFields2 | ( | ) |
called by resolveTableFields recursively on each query then subquery to resolve table and field names to integers
Definition at line 2161 of file Asts.cc.
References Statement::query_s::assignments, CMD_SELECT, CMD_UPDATE, currentQuery, Statement::query_s::fieldidAssignments, Table::fields, Statement::query_s::fromColumnids, Statement::query_s::fromColumns, getfieldid(), Statement::query_s::haswhere, OPERAND_AGGREGATE, OPERAND_FIELDID, OPERAND_IDENTIFIER, resolveFieldNames(), schemaPtr, Statement::query_s::searchCondition, Statement::query_s::table, Statement::query_s::tableid, Schema::tableNameToId, Schema::tables, and Statement::query_s::type.
Referenced by resolveTableFields().
void Statement::searchExpression | ( | int64_t | entrypoint, |
class Ast * | astNode | ||
) |
perform search expression
return if evaluation is complete (true), or incomplete (false) if incomplete, caller should return as it means a background transaction call is taking place if the nextastnode is NULL, or it should execute the nextastnode, which is one of the children
entrypoint | entrypoint in calling function to return to |
astNode | Ast to evaluate |
Definition at line 4857 of file Asts.cc.
References branchtotype(), currentQuery, Ast::evaluate(), Ast::predicateResults, Statement::query_s::results, Statement::query_s::searchCondition, and Statement::results_s::searchResults.
Referenced by branchtotype(), Transaction::continueSqlPredicate(), Ast::evaluate(), Transaction::sqlPredicate(), and startQuery().
bool Statement::stagedPredicate | ( | operatortypes_e | op, |
int64_t | tableid, | ||
string & | leftoperand, | ||
string & | rightoperand, | ||
vector< fieldValue_s > & | inValues, | ||
const boost::unordered_map< uuRecord_s, stagedRow_s > & | stagedRows, | ||
boost::unordered_map< uuRecord_s, returnRow_s > & | results | ||
) |
perform search predicate query on results already gathered by this transaction. saves from having to do unnecessary message traffic with engines
op | operation |
tableid | tbaleid |
leftoperand | left operand of Ast |
rightoperand | right operand of Ast |
inValues | for IN (or NOT IN) predicate, these are the values |
stagedRows | rows already gathered |
results | rows matched by predicate |
Definition at line 2395 of file Asts.cc.
References BOOL, fieldInput_u::boolean, CHAR, fieldInput_u::character, CHARX, compareFields(), Table::fields, FLOAT, fieldInput_u::floating, INT, fieldInput_u::integer, fieldValue_s::isnull, OPERAND_FIELDID, OPERATOR_BETWEEN, OPERATOR_EQ, OPERATOR_GT, OPERATOR_GTE, OPERATOR_IN, OPERATOR_ISNOTNULL, OPERATOR_ISNULL, OPERATOR_LT, OPERATOR_LTE, OPERATOR_NE, OPERATOR_NOTBETWEEN, OPERATOR_NOTIN, returnRow_s::row, schemaPtr, stagedRow2ReturnRow(), fieldValue_s::str, uuRecord_s::tableid, Schema::tables, Ast::toFloat(), Table::unmakerow(), fieldValue_s::value, and VARCHAR.
Referenced by Ast::evaluate().
void Statement::startQuery | ( | ) |
begin query execution
Definition at line 5522 of file Asts.cc.
References branchtotype(), CMD_BEGIN, CMD_COMMIT, CMD_DELETE, CMD_INSERT, CMD_ROLLBACK, CMD_SELECT, CMD_UPDATE, currentQuery, Table::fields, Statement::query_s::fromColumnids, Statement::query_s::haswhere, returnRow_s::locktype, Statement::results_s::newrow, Statement::results_s::newrowuur, returnRow_s::previoussubtransactionid, queries, queryindex, reenter(), reentry, Statement::reentry_s::reentryObject, Statement::query_s::results, ApiInterface::results, returnRow_s::row, uuRecord_s::rowid, returnRow_s::rowid, schemaPtr, Statement::query_s::searchCondition, searchExpression(), Statement::results_s::searchResults, Statement::results_s::selectResults, STATUS_OK, Statement::query_s::tableid, Schema::tables, Statement::query_s::type, and WRITELOCK.
Referenced by branchtotype(), continueDelete(), continueInsert(), continueSelect(), continueUpdate(), and execute().
void Statement::subqueryExists | ( | class Ast * | astnode) |
EXISTS subquery.
astnode |
Definition at line 5771 of file Asts.cc.
References Ast::operand, OPERAND_BOOLEAN, and queries.
Referenced by Ast::evaluate().
void Statement::subqueryIn | ( | class Ast * | astnode) |
subquery returns list of values for IN predicate
astnode |
Definition at line 5788 of file Asts.cc.
References Statement::results_s::inValues, Ast::operand, queries, Statement::query_s::results, and Statement::results_s::selectResults.
Referenced by Ast::evaluate().
void Statement::subqueryScalar | ( | class Ast * | astnode) |
subquery that returns a scalar
astnode |
Definition at line 5613 of file Asts.cc.
References BOOL, CHAR, CHARX, FLOAT, INT, Ast::operand, OPERAND_BOOLEAN, OPERAND_FLOAT, OPERAND_INTEGER, OPERAND_NULL, OPERAND_STRING, OPERAND_SUBQUERY, queries, Statement::query_s::results, schemaPtr, Statement::results_s::selectResults, Statement::query_s::tableid, Schema::tables, UINT, and VARCHAR.
Referenced by Ast::evaluate(), and Ast::normalizeSetAssignmentOperand().
void Statement::subqueryUnique | ( | class Ast * | astnode) |
UNIQUE type of subquery.
astnode |
Definition at line 5717 of file Asts.cc.
References compareFields(), Table::fields, Statement::query_s::fromColumnids, Ast::operand, OPERAND_BOOLEAN, queries, Statement::query_s::results, schemaPtr, Statement::results_s::selectResults, Statement::query_s::tableid, and Schema::tables.
Referenced by Ast::evaluate().
query_s* Statement::currentQuery |
Definition at line 468 of file Asts.h.
Referenced by branchtotype(), continueDelete(), continueSelect(), Transaction::continueSqlInsert(), Transaction::continueSqlReplace(), continueUpdate(), cp(), Ast::evaluate(), Ast::normalizeSetAssignmentOperand(), resolveFieldNames(), resolveTableFields(), resolveTableFields2(), searchExpression(), and startQuery().
std::vector<std::string> Statement::parameters |
Definition at line 471 of file Asts.h.
Referenced by cp(), Ast::evaluate(), execute(), and Ast::normalizeSetAssignmentOperand().
std::vector<query_s> Statement::queries |
Definition at line 470 of file Asts.h.
Referenced by Larxer::consumeSubquery(), Pg::cont(), cp(), Larxer::eatstack(), ApiInterface::execStatement(), execute(), Pg::executeStatement(), ApiInterface::getStoredProcedureArgs(), resolveTableFields(), startQuery(), subqueryExists(), subqueryIn(), subqueryScalar(), subqueryUnique(), and ~Statement().
ssize_t Statement::queryindex |
Definition at line 473 of file Asts.h.
Referenced by cp(), execute(), and startQuery().
reentry_s Statement::reentry |
Definition at line 466 of file Asts.h.
Referenced by branchtotype(), cp(), execute(), reenter(), startQuery(), and Statement().
class Schema* Statement::schemaPtr |
Definition at line 465 of file Asts.h.
Referenced by andPredicate(), branchtotype(), continueSelect(), continueUpdate(), cp(), Ast::evaluate(), getfieldid(), Ast::normalizeSetAssignmentOperand(), resolveTableFields2(), stagedPredicate(), startQuery(), subqueryScalar(), and subqueryUnique().
class TransactionAgent* Statement::taPtr |
Definition at line 464 of file Asts.h.
Referenced by branchtotype(), and cp().
class Transaction* Statement::transactionPtr |
Definition at line 467 of file Asts.h.
Referenced by branchtotype(), continueDelete(), continueSelect(), continueUpdate(), cp(), Ast::evaluate(), execute(), and reenter().