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,
List<String> sqlStrings) |
protected void |
applyInitCommands(Table table,
List<String> sqlStrings) |
protected void |
applyTableCheck(Table table,
StringBuilder buf) |
protected void |
applyTableTypeString(StringBuilder buf) |
String[] |
getSqlCreateStrings(Table table,
Metadata metadata)
Get the commands needed for creation.
|
String[] |
getSqlDropStrings(Table table,
Metadata metadata)
Get the commands needed for dropping.
|
protected String |
tableCreateString(boolean hasPrimaryKey) |
protected final Dialect dialect
public StandardTableExporter(Dialect dialect)
public String[] getSqlCreateStrings(Table table, Metadata metadata)
Exporter
getSqlCreateStrings
in interface Exporter<Table>
protected void applyComments(Table table, QualifiedName tableName, List<String> sqlStrings)
protected void applyTableTypeString(StringBuilder buf)
protected void applyTableCheck(Table table, StringBuilder buf)
protected String tableCreateString(boolean hasPrimaryKey)
Copyright © 2017 JBoss by Red Hat. All rights reserved.