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
restoreInProgress
off (false
)
execute
creates an Executor to execute the given DdlCommand.
execute
is used when:
EngineContext
is requested to execute a DDL command