Class FirebirdDdlGenerator
- java.lang.Object
-
- ru.curs.celesta.dbutils.adaptors.ddl.DdlGenerator
-
- ru.curs.celesta.dbutils.adaptors.ddl.FirebirdDdlGenerator
-
public final class FirebirdDdlGenerator extends DdlGenerator
Class for SQL generation of data definition of Firebird.
-
-
Constructor Summary
Constructors Constructor Description FirebirdDdlGenerator(DBAdaptor dmlAdaptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
FirebirdDdlGenerator
public FirebirdDdlGenerator(DBAdaptor dmlAdaptor)
-
-
Method Detail
-
dropPk
public String dropPk(TableElement t, String pkName)
Description copied from class:DdlGenerator
Generates SQL for dropping primary key from the table by using known name of the primary key.- Specified by:
dropPk
in classDdlGenerator
- Parameters:
t
- table table namepkName
- primary key name
-
dropTableTriggersForMaterializedViews
public List<String> dropTableTriggersForMaterializedViews(Connection conn, BasicTable t)
- Specified by:
dropTableTriggersForMaterializedViews
in classDdlGenerator
-
createTableTriggersForMaterializedViews
public List<String> createTableTriggersForMaterializedViews(BasicTable t)
- Specified by:
createTableTriggersForMaterializedViews
in classDdlGenerator
-
-