public final class PostgresDdlGenerator extends OpenSourceDdlGenerator
| Constructor and Description |
|---|
PostgresDdlGenerator(DBAdaptor dmlAdaptor) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
createTableTriggersForMaterializedViews(BasicTable t) |
String |
dropPk(TableElement t,
String pkName)
Generates SQL for dropping primary key from the table by using
known name of the primary key.
|
List<String> |
dropTableTriggersForMaterializedViews(Connection conn,
BasicTable t) |
SQLGenerator |
getViewSQLGenerator()
Returns a translator from CelestaSQL language to the language of desired DB dialect.
|
public PostgresDdlGenerator(DBAdaptor dmlAdaptor)
public String dropPk(TableElement t, String pkName)
DdlGeneratordropPk in class DdlGeneratort - table table namepkName - primary key namepublic SQLGenerator getViewSQLGenerator()
DdlGeneratorpublic List<String> dropTableTriggersForMaterializedViews(Connection conn, BasicTable t)
dropTableTriggersForMaterializedViews in class DdlGeneratorpublic List<String> createTableTriggersForMaterializedViews(BasicTable t)
createTableTriggersForMaterializedViews in class DdlGeneratorCopyright © 2023 CURS. All rights reserved.