Skip to content

CreateStream

CreateStream is a CreateSource and a ExecutableDdlStatement that represents CREATE STREAM and ASSERT STREAM statements.

CreateStream is handled by:

Creating Instance

CreateStream takes the following to be created:

CreateStream is created when:

copyWith

CreateSource copyWith(
  TableElements elements,
  CreateSourceProperties properties
)

copyWith is part of the CreateSource abstraction.


copyWith creates a new CreateStream with the given TableElements and CreateSourceProperties.

Planning

EngineExecutor is requested to plan CREATE STREAM statements

Execution