void |
Catalog.alterDatabase(String name,
CatalogDatabase newDatabase,
boolean ignoreIfNotExists) |
Modify an existing database.
|
void |
Catalog.alterFunction(ObjectPath functionPath,
CatalogFunction newFunction,
boolean ignoreIfNotExists) |
Modify an existing function.
|
default void |
Catalog.alterModel(ObjectPath modelPath,
CatalogModel newModel,
boolean ignoreIfNotExists) |
Modifies an existing model.
|
default void |
Catalog.alterModel(ObjectPath modelPath,
CatalogModel newModel,
List<ModelChange> modelChanges,
boolean ignoreIfNotExists) |
Modifies an existing model.
|
void |
Catalog.alterPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogPartition newPartition,
boolean ignoreIfNotExists) |
Alter a partition.
|
void |
Catalog.alterPartitionColumnStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogColumnStatistics columnStatistics,
boolean ignoreIfNotExists) |
Update the column statistics of a table partition.
|
void |
Catalog.alterPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogTableStatistics partitionStatistics,
boolean ignoreIfNotExists) |
Update the statistics of a table partition.
|
void |
Catalog.alterTable(ObjectPath tablePath,
CatalogBaseTable newTable,
boolean ignoreIfNotExists) |
Modifies an existing table or view.
|
default void |
Catalog.alterTable(ObjectPath tablePath,
CatalogBaseTable newTable,
List<TableChange> tableChanges,
boolean ignoreIfNotExists) |
Modifies an existing table or view.
|
void |
Catalog.alterTableColumnStatistics(ObjectPath tablePath,
CatalogColumnStatistics columnStatistics,
boolean ignoreIfNotExists) |
Update the column statistics of a table.
|
void |
Catalog.alterTableStatistics(ObjectPath tablePath,
CatalogTableStatistics tableStatistics,
boolean ignoreIfNotExists) |
Update the statistics of a table.
|
default List<CatalogColumnStatistics> |
Catalog.bulkGetPartitionColumnStatistics(ObjectPath tablePath,
List<CatalogPartitionSpec> partitionSpecs) |
Get a list of column statistics for given partitions.
|
default List<CatalogTableStatistics> |
Catalog.bulkGetPartitionStatistics(ObjectPath tablePath,
List<CatalogPartitionSpec> partitionSpecs) |
Get a list of statistics of given partitions.
|
void |
Catalog.close() |
Close the catalog when it is no longer needed and release any resource that it might be
holding.
|
void |
CatalogStore.close() |
Close the catalog store when it is no longer needed and release any resource that it might be
holding.
|
boolean |
CatalogStore.contains(String catalogName) |
Return whether the catalog exists in the catalog store.
|
void |
Catalog.createDatabase(String name,
CatalogDatabase database,
boolean ignoreIfExists) |
Create a 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.createPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
CatalogPartition partition,
boolean ignoreIfExists) |
Create a partition.
|
void |
Catalog.createTable(ObjectPath tablePath,
CatalogBaseTable table,
boolean ignoreIfExists) |
Creates a new table or view.
|
boolean |
Catalog.databaseExists(String databaseName) |
Check if a database exists in this catalog.
|
default void |
Catalog.dropDatabase(String name,
boolean ignoreIfNotExists) |
Drop a database.
|
void |
Catalog.dropDatabase(String name,
boolean ignoreIfNotExists,
boolean cascade) |
Drop a database.
|
void |
Catalog.dropFunction(ObjectPath functionPath,
boolean ignoreIfNotExists) |
Drop a function.
|
default void |
Catalog.dropModel(ObjectPath modelPath,
boolean ignoreIfNotExists) |
Drop a model.
|
void |
Catalog.dropPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec,
boolean ignoreIfNotExists) |
Drop a partition.
|
void |
Catalog.dropTable(ObjectPath tablePath,
boolean ignoreIfNotExists) |
Drop a table or view.
|
boolean |
Catalog.functionExists(ObjectPath functionPath) |
Check whether a function exists or not.
|
Optional<CatalogDescriptor> |
CatalogStore.getCatalog(String catalogName) |
Get a catalog by name.
|
CatalogDatabase |
Catalog.getDatabase(String databaseName) |
Get a database from this catalog.
|
String |
Catalog.getDefaultDatabase() |
Get the name of the default database for this catalog.
|
CatalogFunction |
Catalog.getFunction(ObjectPath functionPath) |
Get the function.
|
default CatalogModel |
Catalog.getModel(ObjectPath modelPath) |
|
CatalogPartition |
Catalog.getPartition(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
Get a partition of the given table.
|
CatalogColumnStatistics |
Catalog.getPartitionColumnStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
Get the column statistics of a partition.
|
CatalogTableStatistics |
Catalog.getPartitionStatistics(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
Get the statistics of a partition.
|
default Procedure |
Catalog.getProcedure(ObjectPath procedurePath) |
Get the procedure.
|
CatalogBaseTable |
Catalog.getTable(ObjectPath tablePath) |
|
default CatalogBaseTable |
Catalog.getTable(ObjectPath tablePath,
long timestamp) |
|
CatalogColumnStatistics |
Catalog.getTableColumnStatistics(ObjectPath tablePath) |
Get the column statistics of a table.
|
CatalogTableStatistics |
Catalog.getTableStatistics(ObjectPath tablePath) |
Get the statistics of a table.
|
Set<String> |
CatalogStore.listCatalogs() |
Retrieves the names of all registered catalogs.
|
List<String> |
Catalog.listDatabases() |
Get the names of all databases in 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.
|
List<CatalogPartitionSpec> |
Catalog.listPartitions(ObjectPath tablePath) |
Get CatalogPartitionSpec of all partitions of the table.
|
List<CatalogPartitionSpec> |
Catalog.listPartitions(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
Get CatalogPartitionSpec of all partitions that is under the given CatalogPartitionSpec in
the table.
|
List<CatalogPartitionSpec> |
Catalog.listPartitionsByFilter(ObjectPath tablePath,
List<Expression> filters) |
Get CatalogPartitionSpec of partitions by expression filters in the table.
|
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.
|
default boolean |
Catalog.modelExists(ObjectPath modelPath) |
Check if a model exists in this catalog.
|
CatalogFunction |
TemporaryOperationListener.onCreateTemporaryFunction(ObjectPath functionPath,
CatalogFunction function) |
This method is called when a temporary function is to be created in this catalog.
|
CatalogModel |
TemporaryOperationListener.onCreateTemporaryModel(ObjectPath modelPath,
CatalogModel model) |
This method is called when a temporary model is to be created in this catalog.
|
CatalogBaseTable |
TemporaryOperationListener.onCreateTemporaryTable(ObjectPath tablePath,
CatalogBaseTable table) |
This method is called when a temporary table or view is to be created in this catalog.
|
void |
TemporaryOperationListener.onDropTemporaryFunction(ObjectPath functionPath) |
This method is called when a temporary function in this catalog is to be dropped.
|
void |
TemporaryOperationListener.onDropTemporaryModel(ObjectPath modelPath) |
This method is called when a temporary model in this catalog is to be dropped.
|
void |
TemporaryOperationListener.onDropTemporaryTable(ObjectPath tablePath) |
This method is called when a temporary table or view in this catalog is to be dropped.
|
void |
Catalog.open() |
Open the catalog.
|
void |
CatalogStore.open() |
Open the catalog store.
|
boolean |
Catalog.partitionExists(ObjectPath tablePath,
CatalogPartitionSpec partitionSpec) |
Check whether a partition exists or not.
|
void |
CatalogStore.removeCatalog(String catalogName,
boolean ignoreIfNotExists) |
Remove a catalog with the given catalog name.
|
default void |
Catalog.renameModel(ObjectPath modelPath,
String newModelName,
boolean ignoreIfNotExists) |
Rename an existing model.
|
void |
Catalog.renameTable(ObjectPath tablePath,
String newTableName,
boolean ignoreIfNotExists) |
Rename an existing table or view.
|
void |
CatalogStore.storeCatalog(String catalogName,
CatalogDescriptor catalog) |
Stores a catalog under the given catalog name.
|
boolean |
Catalog.tableExists(ObjectPath tablePath) |
Check if a table or view exists in this catalog.
|