| 程序包 | 说明 |
|---|---|
| org.apache.seatunnel.api.table.catalog |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Catalog.close()
Close the catalog when it is no longer needed and release any resource that it might be
holding.
|
void |
Catalog.createDatabase(TablePath tablePath,
boolean ignoreIfExists) |
void |
Catalog.createTable(TablePath tablePath,
CatalogTable table,
boolean ignoreIfExists)
Create a new table in this catalog.
|
boolean |
Catalog.databaseExists(String databaseName)
Check if a database exists in this catalog.
|
void |
Catalog.dropDatabase(TablePath tablePath,
boolean ignoreIfNotExists) |
void |
Catalog.dropTable(TablePath tablePath,
boolean ignoreIfNotExists)
Drop an existing table in this catalog.
|
String |
Catalog.getDefaultDatabase()
Get the name of the default database for this catalog.
|
CatalogTable |
Catalog.getTable(TablePath tablePath)
Return a
CatalogTable identified by the given TablePath. |
default List<CatalogTable> |
Catalog.getTables(ReadonlyConfig config) |
List<String> |
Catalog.listDatabases()
Get the names of all databases in this catalog.
|
List<String> |
Catalog.listTables(String databaseName)
Get names of all tables under this database.
|
void |
Catalog.open()
Open the catalog.
|
boolean |
Catalog.tableExists(TablePath tablePath)
Check if a table exist in this catalog.
|
default void |
Catalog.truncateTable(TablePath tablePath,
boolean ignoreIfNotExists)
Truncate an existing table data in this catalog.
|
Copyright © 2024 The Apache Software Foundation. All rights reserved.