CreateSource¶
CreateSource is an extension of the Statement abstraction for CREATE SOURCE statements.
Contract¶
copyWith¶
CreateSource copyWith(
TableElements elements,
CreateSourceProperties properties)
Overrides TableElements and CreateSourceProperties of this CreateSource
Used when:
StatementRewriter.Rewriteris requested tovisitCreateStreamandvisitCreateTableDefaultFormatInjectoris requested toinjectForCreateStatementDefaultSchemaInjectoris requested toaddSchemaFieldsSourcePropertyInjectoris requested tobuildConfiguredStatementTopicCreateInjectoris requested toinjectForCreateSource
getSourceType¶
SourceType getSourceType()
Implementations¶
Creating Instance¶
CreateSource takes the following to be created:
-
NodeLocation -
SourceName -
TableElements -
orReplaceflag -
notExistsflag - CreateSourceProperties
-
isSourceflag
Abstract Class
CreateSource is an abstract class and cannot be created directly. It is created indirectly for the concrete CreateSources.