| Package | Description |
|---|---|
| org.apache.flink.table.catalog.listener |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AlterDatabaseEvent
When a database is altered, an
AlterDatabaseEvent event will be created and fired which
has the old database and new database. |
interface |
AlterTableEvent
When a table is altered, a
AlterTableEvent event will be created and fired. |
interface |
CreateDatabaseEvent
When a database is created, a
CreateDatabaseEvent event will be created and fired. |
interface |
CreateTableEvent
When a table is created, a
CreateTableEvent event will be created and fired. |
interface |
DatabaseModificationEvent
Basic event for database modification such as create, alter and drop, it has the database name
and
CatalogDatabase. |
interface |
DropDatabaseEvent
When a database is dropped, a
DropDatabaseEvent event will be created and fired. |
interface |
DropTableEvent
When a table is dropped, a
DropTableEvent event will be created and fired. |
interface |
TableModificationEvent
Base table event, provides column list, primary keys, partition keys, watermarks and properties
in CatalogBaseTable.
|
| Modifier and Type | Method and Description |
|---|---|
static CatalogModificationEvent |
DropDatabaseEvent.createEvent(CatalogContext context,
String databaseName,
boolean ignoreIfNotExists,
boolean cascade) |
static CatalogModificationEvent |
AlterDatabaseEvent.createEvent(CatalogContext context,
String databaseName,
org.apache.flink.table.catalog.CatalogDatabase newDatabase,
boolean ignoreIfNotExists) |
| Modifier and Type | Method and Description |
|---|---|
void |
CatalogModificationListener.onEvent(CatalogModificationEvent event)
Callback on catalog modification such as database and table ddl operations.
|
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.