| 程序包 | 说明 |
|---|---|
| org.apache.flink.table.catalog |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
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–2022 The Apache Software Foundation. All rights reserved.