OmniSciDB
bf83d84833
|
Public Member Functions | |
void | reset () |
void | executeDDL (const std::string &query) |
Cursor * | executeDML (const std::string &query) |
DBEngineImpl (const std::string &base_path) | |
![]() | |
void | reset () |
void | executeDDL (std::string query) |
Cursor * | executeDML (std::string query) |
Public Attributes | |
const int | CALCITEPORT = 3279 |
const std::string | OMNISCI_DEFAULT_DB = "omnisci" |
const std::string | OMNISCI_ROOT_USER = "admin" |
const std::string | OMNISCI_DATA_PATH = "//mapd_data" |
Private Attributes | |
std::string | base_path_ |
std::shared_ptr < Data_Namespace::DataMgr > | data_mgr_ |
Catalog_Namespace::DBMetadata | database_ |
Catalog_Namespace::UserMetadata | user_ |
QueryRunner::QueryRunner * | query_runner_ |
std::vector< CursorImpl * > | cursors_ |
Additional Inherited Members | |
![]() | |
static DBEngine * | create (std::string path) |
![]() | |
DBEngine () | |
DBEngine internal implementation
Definition at line 91 of file DBEngine.cpp.
|
inline |
Definition at line 121 of file DBEngine.cpp.
References base_path_, CALCITEPORT, CPU, data_mgr_, database_, QueryRunner::QueryRunner::init(), Catalog_Namespace::SysCatalog::instance(), OMNISCI_DATA_PATH, OMNISCI_DEFAULT_DB, OMNISCI_ROOT_USER, query_runner_, and user_.
|
inline |
Definition at line 106 of file DBEngine.cpp.
References query_runner_, and QueryRunner::QueryRunner::runDDLStatement().
Referenced by EmbeddedDatabase::DBEngine::executeDDL().
|
inline |
Definition at line 112 of file DBEngine.cpp.
References CPU, cursors_, data_mgr_, query_runner_, and QueryRunner::QueryRunner::runSQL().
Referenced by EmbeddedDatabase::DBEngine::executeDML().
|
inline |
Definition at line 99 of file DBEngine.cpp.
References query_runner_, and QueryRunner::QueryRunner::reset().
Referenced by EmbeddedDatabase::DBEngine::reset().
|
private |
Definition at line 153 of file DBEngine.cpp.
Referenced by DBEngineImpl().
const int EmbeddedDatabase::DBEngineImpl::CALCITEPORT = 3279 |
Definition at line 94 of file DBEngine.cpp.
Referenced by DBEngineImpl().
|
private |
Definition at line 158 of file DBEngine.cpp.
Referenced by executeDML().
|
private |
Definition at line 154 of file DBEngine.cpp.
Referenced by DBEngineImpl(), and executeDML().
|
private |
Definition at line 155 of file DBEngine.cpp.
Referenced by DBEngineImpl().
const std::string EmbeddedDatabase::DBEngineImpl::OMNISCI_DATA_PATH = "//mapd_data" |
Definition at line 97 of file DBEngine.cpp.
Referenced by DBEngineImpl().
const std::string EmbeddedDatabase::DBEngineImpl::OMNISCI_DEFAULT_DB = "omnisci" |
Definition at line 95 of file DBEngine.cpp.
Referenced by DBEngineImpl().
const std::string EmbeddedDatabase::DBEngineImpl::OMNISCI_ROOT_USER = "admin" |
Definition at line 96 of file DBEngine.cpp.
Referenced by DBEngineImpl().
|
private |
Definition at line 157 of file DBEngine.cpp.
Referenced by DBEngineImpl(), executeDDL(), executeDML(), and reset().
|
private |
Definition at line 156 of file DBEngine.cpp.
Referenced by DBEngineImpl().