OmniSciDB
a5dc49c757
|
#include <DdlCommandExecutor.h>
Public Member Functions | |
RefreshForeignTablesCommand (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 354 of file DdlCommandExecutor.h.
RefreshForeignTablesCommand::RefreshForeignTablesCommand | ( | const DdlCommandData & | ddl_data, |
std::shared_ptr< Catalog_Namespace::SessionInfo const > | session_ptr | ||
) |
Definition at line 2659 of file DdlCommandExecutor.cpp.
References CHECK, DdlCommand::ddl_data_, anonymous_namespace{DdlCommandExecutor.cpp}::extractPayload(), and g_enable_fsi.
|
overridevirtual |
Executes the DDL command corresponding to provided JSON payload.
_return | result of DDL command execution (if applicable) |
Implements DdlCommand.
Definition at line 2674 of file DdlCommandExecutor.cpp.
References cat(), CHECK, shared::contains(), DdlCommand::ddl_data_, anonymous_namespace{DdlCommandExecutor.cpp}::extractPayload(), legacylockmgr::getExecuteReadLock(), Catalog_Namespace::SysCatalog::instance(), join(), foreign_storage::OptionsContainer::options, foreign_storage::OptionsContainer::populateOptionsMap(), foreign_storage::refresh_foreign_table(), Catalog_Namespace::REQUEST_LOGS_SYS_TABLE_NAME, Catalog_Namespace::SERVER_LOGS_SYS_TABLE_NAME, DdlCommand::session_ptr_, TableDBObjectType, Catalog_Namespace::WS_SERVER_ACCESS_LOGS_SYS_TABLE_NAME, and Catalog_Namespace::WS_SERVER_LOGS_SYS_TABLE_NAME.
Referenced by heavydb.cursor.Cursor::executemany().