| Package | Description |
|---|---|
| org.apache.flink.table.catalog |
| Modifier and Type | Method and Description |
|---|---|
void |
Catalog.alterDatabase(String name,
CatalogDatabase newDatabase,
boolean ignoreIfNotExists)
Modify an existing database.
|
void |
Catalog.createFunction(ObjectPath functionPath,
CatalogFunction function,
boolean ignoreIfExists)
Create a function.
|
void |
Catalog.createTable(ObjectPath tablePath,
CatalogBaseTable table,
boolean ignoreIfExists)
Creates a new table or view.
|
default void |
Catalog.dropDatabase(String name,
boolean ignoreIfNotExists)
Drop a database.
|
void |
Catalog.dropDatabase(String name,
boolean ignoreIfNotExists,
boolean cascade)
Drop a database.
|
CatalogDatabase |
Catalog.getDatabase(String databaseName)
Get a database from this catalog.
|
List<String> |
Catalog.listFunctions(String dbName)
List the names of all functions in the given database.
|
default List<String> |
Catalog.listProcedures(String dbName)
List the names of all procedures in the given database.
|
List<String> |
Catalog.listTables(String databaseName)
Get names of all tables and views under this database.
|
List<String> |
Catalog.listViews(String databaseName)
Get names of all views under this database.
|
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.