public class PostgreSQL extends AbstractSQL
SCOPE_GLOBAL, SCOPE_LOCAL| Constructor and Description |
|---|
PostgreSQL() |
PostgreSQL(electric.xml.Element e) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkInheritanceForEntity(CBOEntity entity,
boolean disconnectOnly) |
void |
createTableForColumns(java.lang.String tableName,
java.util.Map<java.lang.String,PostgreSQLColumn> createColsMap) |
void |
determineHighestIndexNumber()
Gets all existing indices and adjusts the var for highest index accordingly.
|
void |
dropAllIndexesForTable(java.lang.String tableName) |
void |
generateImpl(SchemaI schema) |
void |
generateImpl(SchemaI schema,
SchemaI newSchema) |
java.util.Map<java.lang.String,PostgreSQLIndex> |
generatePostgreSQLIndexesForEntity(CBOEntity entity) |
void |
generateRelationTables(SchemaI schema,
boolean nonDestructive) |
java.util.Map<java.lang.String,PostgreSQLIndex> |
getIndexesForTableJDBC(java.lang.String tableName) |
java.lang.String |
getName() |
java.lang.String[] |
getSuperTableNames(java.lang.String tableName)
Retrieves and returns the "parent" table(s) from which the given table inherits in the SQL database.
|
java.lang.String |
getTableNameForOid(long tableOid) |
static java.lang.String |
optimizePostgresConnectionUrl(java.lang.String conUrl) |
public PostgreSQL()
public PostgreSQL(electric.xml.Element e)
public java.lang.String getName()
getName in interface CBOGeneratorIgetName in class AbstractSQLpublic void generateImpl(SchemaI schema)
public void generateImpl(SchemaI schema, SchemaI newSchema)
generateImpl in class AbstractSQLpublic void determineHighestIndexNumber()
public java.util.Map<java.lang.String,PostgreSQLIndex> generatePostgreSQLIndexesForEntity(CBOEntity entity)
public void generateRelationTables(SchemaI schema, boolean nonDestructive)
public void createTableForColumns(java.lang.String tableName,
java.util.Map<java.lang.String,PostgreSQLColumn> createColsMap)
public void dropAllIndexesForTable(java.lang.String tableName)
public java.util.Map<java.lang.String,PostgreSQLIndex> getIndexesForTableJDBC(java.lang.String tableName)
public java.lang.String[] getSuperTableNames(java.lang.String tableName)
public java.lang.String getTableNameForOid(long tableOid)
public boolean checkInheritanceForEntity(CBOEntity entity, boolean disconnectOnly)
public static java.lang.String optimizePostgresConnectionUrl(java.lang.String conUrl)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.