OmniSciDB
c0231cc57d
|
#include <DdlCommandExecutor.h>
Public Member Functions | |
DdlCommand (const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr) | |
virtual ExecutionResult | execute (bool read_only_mode)=0 |
Protected Attributes | |
const DdlCommandData & | ddl_data_ |
std::shared_ptr < Catalog_Namespace::SessionInfo const > | session_ptr_ |
Definition at line 38 of file DdlCommandExecutor.h.
|
inline |
Definition at line 40 of file DdlCommandExecutor.h.
|
pure virtual |
Executes the DDL command corresponding to provided JSON payload.
_return | result of DDL command execution (if applicable) |
Implemented in ReassignOwnedCommand, AlterDatabaseCommand, DropPolicyCommand, ShowPoliciesCommand, CreatePolicyCommand, RefreshForeignTablesCommand, ShowRolesCommand, ShowUserDetailsCommand, ShowDiskCacheUsageCommand, ShowRuntimeTableFunctionsCommand, ShowTableFunctionsCommand, ShowRuntimeFunctionsCommand, ShowFunctionsCommand, ShowDatabasesCommand, ShowCreateTableCommand, ShowTableDetailsCommand, ShowTablesCommand, ShowCreateServerCommand, ShowForeignServersCommand, AlterForeignTableCommand, DropForeignTableCommand, CreateForeignTableCommand, DropForeignServerCommand, AlterForeignServerCommand, and CreateForeignServerCommand.
Referenced by heavydb.cursor.Cursor::executemany().
|
protected |
Definition at line 52 of file DdlCommandExecutor.h.
Referenced by AlterDatabaseCommand::AlterDatabaseCommand(), AlterForeignServerCommand::AlterForeignServerCommand(), AlterForeignTableCommand::AlterForeignTableCommand(), AlterForeignTableCommand::alterOptions(), AlterForeignServerCommand::changeForeignServerOwner(), AlterDatabaseCommand::changeOwner(), CreateForeignServerCommand::CreateForeignServerCommand(), DropForeignServerCommand::DropForeignServerCommand(), DropForeignTableCommand::DropForeignTableCommand(), CreateForeignServerCommand::execute(), AlterForeignServerCommand::execute(), DropForeignServerCommand::execute(), CreateForeignTableCommand::execute(), DropForeignTableCommand::execute(), AlterForeignTableCommand::execute(), ShowForeignServersCommand::execute(), ShowCreateTableCommand::execute(), ShowFunctionsCommand::execute(), ShowTableFunctionsCommand::execute(), ShowUserDetailsCommand::execute(), ShowRolesCommand::execute(), RefreshForeignTablesCommand::execute(), AlterDatabaseCommand::execute(), ShowTableDetailsCommand::getFilteredTableNames(), ShowDiskCacheUsageCommand::getFilteredTableNames(), AlterForeignServerCommand::hasAlterServerPrivileges(), ReassignOwnedCommand::ReassignOwnedCommand(), RefreshForeignTablesCommand::RefreshForeignTablesCommand(), AlterDatabaseCommand::rename(), AlterForeignTableCommand::renameColumn(), AlterForeignServerCommand::renameForeignServer(), AlterForeignTableCommand::renameTable(), CreateForeignTableCommand::setColumnDetails(), AlterForeignServerCommand::setForeignServerDataWrapper(), AlterForeignServerCommand::setForeignServerOptions(), CreateForeignTableCommand::setTableDetails(), ShowCreateServerCommand::ShowCreateServerCommand(), ShowDiskCacheUsageCommand::ShowDiskCacheUsageCommand(), ShowForeignServersCommand::ShowForeignServersCommand(), and ShowTableDetailsCommand::ShowTableDetailsCommand().
|
protected |
Definition at line 53 of file DdlCommandExecutor.h.
Referenced by AlterForeignTableCommand::alterOptions(), AlterForeignServerCommand::changeForeignServerOwner(), AlterDatabaseCommand::changeOwner(), CreateForeignServerCommand::execute(), AlterForeignServerCommand::execute(), DropForeignServerCommand::execute(), CreateForeignTableCommand::execute(), DropForeignTableCommand::execute(), AlterForeignTableCommand::execute(), ShowForeignServersCommand::execute(), ShowCreateServerCommand::execute(), ShowTablesCommand::execute(), ShowTableDetailsCommand::execute(), ShowCreateTableCommand::execute(), ShowDatabasesCommand::execute(), ShowDiskCacheUsageCommand::execute(), ShowUserDetailsCommand::execute(), ShowRolesCommand::execute(), RefreshForeignTablesCommand::execute(), ReassignOwnedCommand::execute(), ShowTableDetailsCommand::getFilteredTableNames(), ShowDiskCacheUsageCommand::getFilteredTableNames(), AlterForeignServerCommand::hasAlterServerPrivileges(), AlterDatabaseCommand::rename(), AlterForeignTableCommand::renameColumn(), AlterForeignServerCommand::renameForeignServer(), AlterForeignTableCommand::renameTable(), AlterForeignServerCommand::setForeignServerDataWrapper(), AlterForeignServerCommand::setForeignServerOptions(), and CreateForeignTableCommand::setTableDetails().