public class HybrisPostgreSqlBuilder
extends PostgreSqlBuilder
| Constructor and Description |
|---|
HybrisPostgreSqlBuilder(Platform platform,
DatabaseSettings databaseSettings) |
| Modifier and Type | Method and Description |
|---|---|
void |
dropTable(Table table) |
String |
getColumnName(Column column) |
String |
getIndexName(Index index) |
protected String |
getSqlType(Column column)
Returns the full SQL type specification (including size and precision/scale) for the given column.
|
String |
getTableName(Table table) |
protected String |
getValueAsString(Column column,
Object value) |
protected void |
processChange(Database currentModel,
Database desiredModel,
AddColumnChange change)
Processes the addition of a column to a table.
|
protected void |
processTableStructureChanges(Database currentModel,
Database desiredModel,
Table sourceTable,
Table targetTable,
Map parameters,
List changes) |
public HybrisPostgreSqlBuilder(Platform platform,
DatabaseSettings databaseSettings)
public String getColumnName(Column column)
public String getTableName(Table table)
public String getIndexName(Index index)
protected String getSqlType(Column column)
column - The columnprotected void processTableStructureChanges(Database currentModel,
Database desiredModel,
Table sourceTable,
Table targetTable,
Map parameters,
List changes)
throws IOException
IOExceptionprotected void processChange(Database currentModel,
Database desiredModel,
AddColumnChange change)
throws IOException
currentModel - The current database schemadesiredModel - The desired database schemachange - The change objectIOExceptionpublic void dropTable(Table table)
throws IOException
IOExceptionCopyright © 2017 SAP SE. All Rights Reserved.