public final class H2DdlGenerator extends OpenSourceDdlGenerator
Constructor and Description |
---|
H2DdlGenerator(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 H2DdlGenerator(DBAdaptor dmlAdaptor)
public String dropPk(TableElement t, String pkName)
DdlGenerator
dropPk
in class DdlGenerator
t
- table table namepkName
- primary key namepublic SQLGenerator getViewSQLGenerator()
DdlGenerator
public List<String> dropTableTriggersForMaterializedViews(Connection conn, BasicTable t)
dropTableTriggersForMaterializedViews
in class DdlGenerator
public List<String> createTableTriggersForMaterializedViews(BasicTable t)
createTableTriggersForMaterializedViews
in class DdlGenerator
Copyright © 2023 CURS. All rights reserved.