CreateAsSelect¶
CreateAsSelect is an extension of Statement and QueryContainer abstractions for CREATE AS SELECT statements.
Contract¶
copyWith¶
CreateAsSelect copyWith(
CreateSourceAsProperties properties)
Used when:
DefaultSchemaInjectoris requested to addSchemaFieldsCasSourcePropertyInjectoris requested tobuildConfiguredStatementTopicCreateInjectoris requested toinjectForCreateAsSelect
Implementations¶
Creating Instance¶
CreateAsSelect takes the following to be created:
-
NodeLocation - Source Name
- Query
-
orReplaceflag -
notExistsflag - 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).