object DdlGenerator
Generates a Redshift DDL File from a Flattened JsonSchema
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DdlGenerator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val dataTypeSuggestions: List[DataTypeSuggestion]
- val encodingSuggestions: List[EncodingSuggestion]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
generateTableDdl(orderedSubSchemas: Properties, name: String, dbSchema: Option[String], size: Int, raw: Boolean): CreateTable
Generates Redshift CreateTable object with all columns, attributes and constraints
Generates Redshift CreateTable object with all columns, attributes and constraints
- orderedSubSchemas
subschemas which are ordered wrt to updates, nullness and alphabetic order
- name
table name
- dbSchema
optional redshift schema name
- size
default length for VARCHAR
- raw
do not produce any Snowplow specific columns (like root_id)
- returns
CreateTable object with all data about table creation
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getTableComment(tableName: String, schemaName: Option[String], schemaMap: SchemaMap): CommentOn
Make a DDL header from the self-describing info
Make a DDL header from the self-describing info
- schemaName
optional schema name
- schemaMap
self-describing info
- returns
SQL comment
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()