Package net.ontopia.persistence.rdbms
Class PostgreSQLProducer
- java.lang.Object
-
- net.ontopia.persistence.rdbms.GenericSQLProducer
-
- net.ontopia.persistence.rdbms.PostgreSQLProducer
-
public class PostgreSQLProducer extends GenericSQLProducer
INTERNAL: DDL statement generator for the PostgreSQL database platform.
-
-
Field Summary
-
Fields inherited from class net.ontopia.persistence.rdbms.GenericSQLProducer
platforms, project
-
-
Constructor Summary
Constructors Constructor Description PostgreSQLProducer(Project project)
PostgreSQLProducer(Project project, String[] platforms)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<String>
dropStatement(Table table, List<String> statements)
INTERNAL: Generate the DDL statement(s) to drop the specified table.protected boolean
supportsForeignKeys()
-
Methods inherited from class net.ontopia.persistence.rdbms.GenericSQLProducer
addForeignKey, addPrimaryKeys, createIndexes, createStatement, dropConstraint, executeCreate, executeDrop, executeStatements, getIndexName, getPrimaryKeyName, outputStatements, supportsNullInColumnDefinition, writeCreate, writeDrop
-
-
-
-
Method Detail
-
dropStatement
protected List<String> dropStatement(Table table, List<String> statements) throws IOException
Description copied from class:GenericSQLProducer
INTERNAL: Generate the DDL statement(s) to drop the specified table.- Overrides:
dropStatement
in classGenericSQLProducer
- Throws:
IOException
-
supportsForeignKeys
protected boolean supportsForeignKeys()
- Overrides:
supportsForeignKeys
in classGenericSQLProducer
-
-