OmniSciDB
a5dc49c757
|
#include <DdlCommandExecutor.h>
Public Member Functions | |
ShowCreateServerCommand (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) | |
Private Attributes | |
std::string | server_ |
Additional Inherited Members | |
Protected Attributes inherited from DdlCommand | |
const DdlCommandData & | ddl_data_ |
std::shared_ptr < Catalog_Namespace::SessionInfo const > | session_ptr_ |
Definition at line 188 of file DdlCommandExecutor.h.
ShowCreateServerCommand::ShowCreateServerCommand | ( | const DdlCommandData & | ddl_data, |
std::shared_ptr< Catalog_Namespace::SessionInfo const > | session_ptr | ||
) |
Definition at line 2612 of file DdlCommandExecutor.cpp.
References CHECK, DdlCommand::ddl_data_, anonymous_namespace{DdlCommandExecutor.cpp}::extractPayload(), g_enable_fsi, and server_.
|
overridevirtual |
Executes the DDL command corresponding to provided JSON payload.
_return | result of DDL command execution (if applicable) |
Implements DdlCommand.
Definition at line 2626 of file DdlCommandExecutor.cpp.
References ResultSetLogicalValuesBuilder::create(), genLiteralStr(), legacylockmgr::getExecuteReadLock(), lockmgr::instance(), kTEXT, DBObject::loadKey(), server_, ServerDBObjectType, and DdlCommand::session_ptr_.
Referenced by heavydb.cursor.Cursor::executemany().
|
private |
Definition at line 197 of file DdlCommandExecutor.h.
Referenced by execute(), and ShowCreateServerCommand().