OmniSciDB
a5dc49c757
|
#include <DdlCommandExecutor.h>
Public Member Functions | |
ShowCreateTableCommand (const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr) | |
ExecutionResult | execute (bool read_only_mode) override |
Public Member Functions inherited from DdlCommand | |
DdlCommand (const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr) | |
Additional Inherited Members | |
Protected Attributes inherited from DdlCommand | |
const DdlCommandData & | ddl_data_ |
std::shared_ptr < Catalog_Namespace::SessionInfo const > | session_ptr_ |
Definition at line 220 of file DdlCommandExecutor.h.
ShowCreateTableCommand::ShowCreateTableCommand | ( | const DdlCommandData & | ddl_data, |
std::shared_ptr< Catalog_Namespace::SessionInfo const > | session_ptr | ||
) |
Definition at line 1735 of file DdlCommandExecutor.cpp.
|
overridevirtual |
Executes the DDL command corresponding to provided JSON payload.
_return | result of DDL command execution (if applicable) |
Implements DdlCommand.
Definition at line 1740 of file DdlCommandExecutor.cpp.
References CHECK, query_state::QueryState::create(), run_benchmark_import::create_table_sql, DdlCommand::ddl_data_, anonymous_namespace{DdlCommandExecutor.cpp}::extractPayload(), g_enable_watchdog, legacylockmgr::getExecuteReadLock(), lockmgr::TableLockMgrImpl< TableSchemaLockMgr >::getReadLockForTable(), Catalog_Namespace::SysCatalog::instance(), Catalog_Namespace::SysCatalog::isAggregator(), TableDescriptor::isView, DBObject::loadKey(), run_benchmark_import::result, DdlCommand::session_ptr_, ExecutionResult::SimpleResult, TableDBObjectType, TableDescriptor::tableName, ExecutionResult::updateResultSet(), ViewDBObjectType, and TableDescriptor::viewSQL.
Referenced by heavydb.cursor.Cursor::executemany().