Interface AlterDatabaseEvent
- All Superinterfaces:
CatalogModificationEvent,DatabaseModificationEvent
When a database is altered, an
AlterDatabaseEvent event will be created and fired which
has the old database and new database.-
Method Summary
Modifier and TypeMethodDescriptionstatic CatalogModificationEventcreateEvent(CatalogContext context, String databaseName, org.apache.flink.table.catalog.CatalogDatabase newDatabase, boolean ignoreIfNotExists) booleanorg.apache.flink.table.catalog.CatalogDatabaseMethods inherited from interface org.apache.flink.table.catalog.listener.CatalogModificationEvent
contextMethods inherited from interface org.apache.flink.table.catalog.listener.DatabaseModificationEvent
database, databaseName
-
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)
-