InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
#include <Schema.h>
Public Member Functions | |
Schema (int64_t domainidarg) | |
virtual | ~Schema () |
int64_t | getnexttableid () |
acquire ever-increasing and unique table identifiers More... | |
int | createTable (int64_t id) |
CREATE TABLE. More... | |
Public Attributes | |
int64_t | domainid |
int64_t | nexttableid |
boost::unordered_map< int64_t, class Table * > | tables |
boost::unordered_map < std::string, int64_t > | tableNameToId |
boost::unordered_map< int64_t, boost::unordered_map < std::string, int64_t > > | fieldNameToId |
Friends | |
class | ApiInterface |
class | TransactionAgent |
class | Engine |
class | Transaction |
class | SubTransaction |
class | UserSchemaMgr |
Schema::Schema | ( | int64_t | domainidarg) |
int Schema::createTable | ( | int64_t | id) |
CREATE TABLE.
id | tableid |
Definition at line 42 of file Schema.cc.
References BUILTIN_STATUS_NOTOK, BUILTIN_STATUS_OK, and tables.
Referenced by UserSchemaMgr::createtable().
int64_t Schema::getnexttableid | ( | ) |
acquire ever-increasing and unique table identifiers
Definition at line 53 of file Schema.cc.
References nexttableid.
Referenced by UserSchemaMgr::createtable().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
int64_t Schema::domainid |
Definition at line 72 of file Schema.h.
Referenced by Statement::branchtotype(), and createSchema().
boost::unordered_map< int64_t, boost::unordered_map<std::string, int64_t> > Schema::fieldNameToId |
Definition at line 78 of file Schema.h.
Referenced by Statement::getfieldid().
int64_t Schema::nexttableid |
Definition at line 73 of file Schema.h.
Referenced by getnexttableid().
boost::unordered_map< std::string, int64_t > Schema::tableNameToId |
Definition at line 75 of file Schema.h.
Referenced by UserSchemaMgr::createtable(), and Statement::resolveTableFields2().
boost::unordered_map< int64_t, class Table *> Schema::tables |
Definition at line 74 of file Schema.h.
Referenced by Statement::andPredicate(), Engine::applyItem(), Statement::branchtotype(), SubTransaction::commitRollbackUnlock(), Transaction::continueCommitTransaction(), Statement::continueSelect(), Transaction::continueSqlInsert(), Transaction::continueSqlReplace(), Statement::continueUpdate(), createTable(), SubTransaction::deleterow(), SubTransaction::drainIndexLockQueue(), SubTransaction::drainRowLockQueue(), Ast::evaluate(), TransactionAgent::handledispatch(), SubTransaction::indexSearch(), ApiInterface::insertRow(), SubTransaction::newrow(), Ast::normalizeSetAssignmentOperand(), SubTransaction::processTransactionMessage(), Statement::resolveTableFields2(), Transaction::select(), SubTransaction::selectrows(), Transaction::sqlPredicate(), Statement::stagedPredicate(), Statement::startQuery(), Statement::subqueryScalar(), Statement::subqueryUnique(), TransactionAgent::TAaddcolumn(), SubTransaction::uniqueIndex(), ApiInterface::unmakerow(), SubTransaction::updaterow(), and Transaction::updateRow().