Class EmbeddedDatabase::DBEngineImpl

class DBEngineImpl : public EmbeddedDatabase::DBEngine

DBEngine internal implementation

Public Functions

DBEngineImpl()
~DBEngineImpl()
bool init(const std::string &cmd_line)
std::shared_ptr<CursorImpl> sql_execute_dbe(const TSessionId &session_id, const std::string &query_str, const bool column_format, const int32_t first_n, const int32_t at_most_n)
void executeDDL(const std::string &query)
void importArrowTable(const std::string &name, std::shared_ptr<arrow::Table> &table, uint64_t fragment_size)
std::shared_ptr<CursorImpl> executeDML(const std::string &query)
std::shared_ptr<CursorImpl> executeRA(const std::string &query)
std::vector<std::string> getTables()
std::vector<ColumnDetails> getTableDetails(const std::string &table_name)
bool setDatabase(std::string &db_name)
bool login(std::string &db_name, std::string &user_name, const std::string &password)

Protected Functions

void reset()
bool catalogExists(const std::string &base_path)
void cleanCatalog(const std::string &base_path)
std::string createCatalog(const std::string &base_path)

Private Members

std::string base_path_
std::string session_id_
std::shared_ptr<DBHandler> db_handler_
bool is_temp_db_
std::string udf_filename_
std::vector<std::string> system_folders_ = {"mapd_catalogs", , }