Executor¶
Executor is an abstraction of executors that can execute DDL commands.
Contract¶
executeAlterSource¶
DdlCommandResult executeAlterSource(
AlterSourceCommand alterSource)
Used when:
AlterSourceCommandis requested to execute
executeCreateStream¶
DdlCommandResult executeCreateStream(
CreateStreamCommand createStreamCommand)
Used when:
CreateStreamCommandis requested to execute
executeCreateTable¶
DdlCommandResult executeCreateTable(
CreateTableCommand createTableCommand);
Used when:
CreateTableCommandis requested to execute
executeDropSource¶
DdlCommandResult executeDropSource(
DropSourceCommand dropSource)
Used when:
DropSourceCommandis requested to execute
executeDropType¶
DdlCommandResult executeDropType(
DropTypeCommand dropType)
Used when:
DropTypeCommandis requested to execute
executeRegisterType¶
DdlCommandResult executeRegisterType(
RegisterTypeCommand registerType)
Used when:
RegisterTypeCommandis 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:
DdlCommandExecis requested to execute a DDL command