InfiniSQL  v0.1.2-alpha
Massive Scale Transaction Processing
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Statement::query_s Struct Reference

all elements for a main or sub-query More...

#include <Asts.h>

Collaboration diagram for Statement::query_s:

Public Attributes

ssize_t instance
 
cmd_e type
 
bool isforupdate
 
bool hasnolock
 
bool haswhere
 
bool hasgroupby
 
bool hashaving
 
bool hasorderby
 
std::string table
 
int64_t tableid
 
locktype_e locktype
 
std::vector< std::string > groupByList
 
std::vector< std::string > fromColumns
 
std::vector< column_sfromColumnids
 
std::vector< orderbyitem_sorderbylist
 
inobject_s inobject
 
class AstsearchCondition
 
boost::unordered_map< string,
class Ast * > 
assignments
 
boost::unordered_map< int64_t,
class Ast * > 
fieldidAssignments
 
std::vector< class Ast * > insertColumns
 
std::string storedProcedure
 
std::vector< std::string > storedProcedureArgs
 
results_s results
 

Detailed Description

all elements for a main or sub-query

Definition at line 219 of file Asts.h.

Member Data Documentation

boost::unordered_map<string, class Ast *> Statement::query_s::assignments

Definition at line 242 of file Asts.h.

Referenced by Larxer::consumeUpdate(), and Statement::resolveTableFields2().

boost::unordered_map<int64_t, class Ast *> Statement::query_s::fieldidAssignments
std::vector<column_s> Statement::query_s::fromColumnids
std::vector<std::string> Statement::query_s::fromColumns
std::vector<std::string> Statement::query_s::groupByList

Definition at line 234 of file Asts.h.

Referenced by Larxer::consumeGroupby(), and Statement::cpquery().

bool Statement::query_s::hasgroupby

Definition at line 227 of file Asts.h.

Referenced by Larxer::consumeGroupby(), and Statement::cpquery().

bool Statement::query_s::hashaving

Definition at line 228 of file Asts.h.

Referenced by Larxer::consumeHaving(), and Statement::cpquery().

bool Statement::query_s::hasnolock

Definition at line 225 of file Asts.h.

Referenced by Larxer::consumeSelect(), and Statement::cpquery().

bool Statement::query_s::hasorderby

Definition at line 229 of file Asts.h.

Referenced by Larxer::consumeOrderby(), and Statement::cpquery().

bool Statement::query_s::haswhere
inobject_s Statement::query_s::inobject
std::vector<class Ast *> Statement::query_s::insertColumns
ssize_t Statement::query_s::instance

Definition at line 221 of file Asts.h.

Referenced by Larxer::consumeSubquery(), Statement::cpquery(), and Larxer::eatstack().

bool Statement::query_s::isforupdate

Definition at line 224 of file Asts.h.

Referenced by Larxer::consumeSelect(), and Statement::cpquery().

std::vector<orderbyitem_s> Statement::query_s::orderbylist

Definition at line 238 of file Asts.h.

Referenced by Larxer::consumeOrderby(), and Statement::cpquery().

std::string Statement::query_s::storedProcedure

Definition at line 246 of file Asts.h.

Referenced by Statement::branchtotype(), and Larxer::consumeStoredProcedure().

std::vector<std::string> Statement::query_s::storedProcedureArgs

Definition at line 247 of file Asts.h.

Referenced by Larxer::consumeStoredProcedure().

std::string Statement::query_s::table

Definition at line 231 of file Asts.h.

Referenced by Larxer::consumeFrom(), Statement::cpquery(), and Statement::resolveTableFields2().


The documentation for this struct was generated from the following file: