Executor¶
Executor
is an abstraction of executors that can execute DDL commands.
Contract¶
executeAlterSource¶
DdlCommandResult executeAlterSource(
AlterSourceCommand alterSource)
Used when:
AlterSourceCommand
is requested to execute
executeCreateStream¶
DdlCommandResult executeCreateStream(
CreateStreamCommand createStreamCommand)
Used when:
CreateStreamCommand
is requested to execute
executeCreateTable¶
DdlCommandResult executeCreateTable(
CreateTableCommand createTableCommand);
Used when:
CreateTableCommand
is requested to execute
executeDropSource¶
DdlCommandResult executeDropSource(
DropSourceCommand dropSource)
Used when:
DropSourceCommand
is requested to execute
executeDropType¶
DdlCommandResult executeDropType(
DropTypeCommand dropType)
Used when:
DropTypeCommand
is requested to execute
executeRegisterType¶
DdlCommandResult executeRegisterType(
RegisterTypeCommand registerType)
Used when:
RegisterTypeCommand
is requested to execute
Implementations¶
Executing DDL Command¶
DdlCommandResult execute(
DdlCommand command)
execute
requests the given DdlCommand to execute (with this Executor
).
execute
is used when:
DdlCommandExec
is requested to execute a DDL command