public class TemporaryTableExporter extends StandardTableExporter
dialectNO_COMMANDS| Constructor and Description |
|---|
TemporaryTableExporter(Dialect dialect) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyComments(Table table,
List<String> sqlStrings) |
protected void |
applyTableCheck(Table table,
StringBuilder buf) |
protected void |
applyTableTypeString(StringBuilder buf) |
static String |
generateTableName(Dialect dialect,
Table primaryTable) |
String[] |
getSqlCreateStrings(Table exportable,
Metadata metadata)
Get the commands needed for creation.
|
String[] |
getSqlDropStrings(Table exportable,
Metadata metadata)
Get the commands needed for dropping.
|
protected String |
tableCreateString(boolean hasPrimaryKey) |
public TemporaryTableExporter(Dialect dialect)
public String[] getSqlCreateStrings(Table exportable, Metadata metadata)
ExportergetSqlCreateStrings in interface Exporter<Table>getSqlCreateStrings in class StandardTableExporterprotected String tableCreateString(boolean hasPrimaryKey)
tableCreateString in class StandardTableExporterprotected void applyTableCheck(Table table, StringBuilder buf)
applyTableCheck in class StandardTableExporterprotected void applyComments(Table table, List<String> sqlStrings)
applyComments in class StandardTableExporterprotected void applyTableTypeString(StringBuilder buf)
applyTableTypeString in class StandardTableExporterpublic String[] getSqlDropStrings(Table exportable, Metadata metadata)
ExportergetSqlDropStrings in interface Exporter<Table>getSqlDropStrings in class StandardTableExporterCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.