Interface AlterDatabaseEvent

All Superinterfaces:
CatalogModificationEvent, DatabaseModificationEvent

@PublicEvolving public interface AlterDatabaseEvent extends DatabaseModificationEvent
When a database is altered, an AlterDatabaseEvent event will be created and fired which has the old database and new database.
  • Method Details

    • newDatabase

      org.apache.flink.table.catalog.CatalogDatabase newDatabase()
    • ignoreIfNotExists

      boolean ignoreIfNotExists()
    • createEvent

      static CatalogModificationEvent createEvent(CatalogContext context, String databaseName, org.apache.flink.table.catalog.CatalogDatabase newDatabase, boolean ignoreIfNotExists)