Interface AlterDatabaseEvent
-
- All Superinterfaces:
CatalogModificationEvent,DatabaseModificationEvent
@PublicEvolving public interface AlterDatabaseEvent extends DatabaseModificationEvent
When a database is altered, anAlterDatabaseEventevent will be created and fired which has the old database and new database.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static CatalogModificationEventcreateEvent(CatalogContext context, String databaseName, org.apache.flink.table.catalog.CatalogDatabase newDatabase, boolean ignoreIfNotExists)booleanignoreIfNotExists()org.apache.flink.table.catalog.CatalogDatabasenewDatabase()-
Methods inherited from interface org.apache.flink.table.catalog.listener.CatalogModificationEvent
context
-
Methods inherited from interface org.apache.flink.table.catalog.listener.DatabaseModificationEvent
database, databaseName
-
-
-
-
Method Detail
-
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)
-
-