Modifier and Type | Field and Description |
---|---|
protected Dialect |
dialect |
NO_COMMANDS
Constructor and Description |
---|
StandardTableExporter(Dialect dialect) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyComments(Table table,
QualifiedName tableName,
java.util.List<java.lang.String> sqlStrings) |
protected void |
applyInitCommands(Table table,
java.util.List<java.lang.String> sqlStrings) |
protected void |
applyTableCheck(Table table,
java.lang.StringBuilder buf) |
protected void |
applyTableTypeString(java.lang.StringBuilder buf) |
java.lang.String[] |
getSqlCreateStrings(Table table,
Metadata metadata)
Get the commands needed for creation.
|
java.lang.String[] |
getSqlDropStrings(Table table,
Metadata metadata)
Get the commands needed for dropping.
|
protected java.lang.String |
tableCreateString(boolean hasPrimaryKey) |
protected final Dialect dialect
public StandardTableExporter(Dialect dialect)
public java.lang.String[] getSqlCreateStrings(Table table, Metadata metadata)
Exporter
getSqlCreateStrings
in interface Exporter<Table>
protected void applyComments(Table table, QualifiedName tableName, java.util.List<java.lang.String> sqlStrings)
protected void applyInitCommands(Table table, java.util.List<java.lang.String> sqlStrings)
protected void applyTableTypeString(java.lang.StringBuilder buf)
protected void applyTableCheck(Table table, java.lang.StringBuilder buf)
protected java.lang.String tableCreateString(boolean hasPrimaryKey)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.