case class DdlFile(statements: List[Statement]) extends Product with Serializable
File representing sequence of valid DDL statements able to be printed
- statements
sequence of valid independent DDL statements
- To do
Redshift table definition is tightly coupled with JSONPath file and client code needs to reprocess it to have same order, but different column names
- Alphabetic
- By Inheritance
- DdlFile
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
def
render(formatters: List[StatementFormatter]): String
Convert content of file into string using list of predefined formatters WARNING: setting delimiters is on behalf of formatters, so empty
formatters
list produce invalid outputConvert content of file into string using list of predefined formatters WARNING: setting delimiters is on behalf of formatters, so empty
formatters
list produce invalid output- formatters
list of partial functions applicable for some subsets of DDL statements
- returns
formatted representation
-
def
render: String
Convert content of file into string
Convert content of file into string
- returns
most concise string representation
- val statements: List[Statement]
-
def
warnings: List[String]
Aggregates all warnings from child statements