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.
|
default void |
Catalog.createModel(ObjectPath modelPath,
CatalogModel model,
boolean ignoreIfExists) |
Creates a new model.
|
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.listModels(String databaseName) |
Get names of all models under this 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.
|