DdlCommandExec¶
Creating Instance¶
DdlCommandExec takes the following to be created:
DdlCommandExec is created along with EngineContext.
Executing DDL Command¶
DdlCommandResult execute(
String sql,
DdlCommand ddlCommand,
boolean withQuery,
Set<SourceName> withQuerySources) // (1)!
DdlCommandResult execute(
String sql,
DdlCommand ddlCommand,
boolean withQuery,
Set<SourceName> withQuerySources,
boolean restoreInProgress)
- Turns
restoreInProgressoff (false)
execute creates an Executor to execute the given DdlCommand.
execute is used when:
EngineContextis requested to execute a DDL command