Class CreateForeignTableCommand

class CreateForeignTableCommand : public DdlCommand

Public Functions

CreateForeignTableCommand(const DdlCommandData &ddl_data, std::shared_ptr<Catalog_Namespace::SessionInfo const> session_ptr)
ExecutionResult execute()

Executes the DDL command corresponding to provided JSON payload.

Parameters
  • _return: result of DDL command execution (if applicable)

Private Functions

void setTableDetails(const std::string &table_name, TableDescriptor &td, const std::list<ColumnDescriptor> &columns)
void setColumnDetails(std::list<ColumnDescriptor> &columns)