Skip to content

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 addSchemaFieldsCas
  • SourcePropertyInjector is requested to buildConfiguredStatement
  • TopicCreateInjector is requested to injectForCreateAsSelect

Implementations

Creating Instance

CreateAsSelect takes the following to be created:

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).