Class DdlGenerator

java.lang.Object
ru.curs.celesta.dbutils.adaptors.ddl.DdlGenerator
Direct Known Subclasses:
FirebirdDdlGenerator, MsSqlDdlGenerator, OpenSourceDdlGenerator, OraDdlGenerator

public abstract class DdlGenerator extends Object
Base class for SQL generation of data definition.
  • Constructor Details

    • DdlGenerator

      public DdlGenerator(DBAdaptor dmlAdaptor)
  • Method Details

    • dropPk

      public abstract String dropPk(TableElement t, String pkName)
      Generates SQL for dropping primary key from the table by using known name of the primary key.
      Parameters:
      t - table table name
      pkName - primary key name
    • dropTableTriggersForMaterializedViews

      public abstract List<String> dropTableTriggersForMaterializedViews(Connection conn, BasicTable t)
    • createTableTriggersForMaterializedViews

      public abstract List<String> createTableTriggersForMaterializedViews(BasicTable t)