Class DdlCommand¶
-
class
DdlCommand¶ Subclassed by AlterForeignServerCommand, AlterForeignTableCommand, CreateForeignServerCommand, CreateForeignTableCommand, CreatePolicyCommand, DropForeignServerCommand, DropForeignTableCommand, DropPolicyCommand, ReassignOwnedCommand, RefreshForeignTablesCommand, ShowDatabasesCommand, ShowDiskCacheUsageCommand, ShowForeignServersCommand, ShowPoliciesCommand, ShowRolesCommand, ShowTableDetailsCommand, ShowTablesCommand, ShowUserDetailsCommand
Public Functions
-
virtual ExecutionResult
execute() = 0¶ Executes the DDL command corresponding to provided JSON payload.
- Parameters
_return: result of DDL command execution (if applicable)
Protected Functions
-
bool
isDefaultServer(const std::string &server_name)¶
Protected Attributes
-
const DdlCommandData &
ddl_data_¶
-
std::shared_ptr<Catalog_Namespace::SessionInfo const>
session_ptr_¶
-
virtual ExecutionResult