CreateAsSelect¶
CreateAsSelect
is an extension of Statement and QueryContainer abstractions for CREATE AS SELECT statements.
Contract¶
copyWith¶
CreateAsSelect copyWith(
CreateSourceAsProperties properties)
Used when:
DefaultSchemaInjector
is requested to addSchemaFieldsCasSourcePropertyInjector
is requested tobuildConfiguredStatement
TopicCreateInjector
is requested toinjectForCreateAsSelect
Implementations¶
Creating Instance¶
CreateAsSelect
takes the following to be created:
-
NodeLocation
- Source Name
- Query
-
orReplace
flag -
notExists
flag - CreateSourceAsProperties
Abstract Class
CreateAsSelect
is an abstract class and cannot be created directly. It is created indirectly for the concrete CreateAsSelects.
getSink¶
Sink getSink()
getSink
is part of the QueryContainer abstraction.
getSink
creates a Sink (with createSink flag enabled).