Skip to content

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)
  1. Turns restoreInProgress off (false)

execute creates an Executor to execute the given DdlCommand.


execute is used when: