Interface CatalogStore
public interface CatalogStore
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOrReplaceCatalog(CatalogProperties catalogProperties) Add or replace catalog properties.createCatalogProperties(CatalogName catalogName, ConnectorName connectorName, Map<String, String> properties) Create a catalog properties from the raw properties.Get all catalogs.voidremoveCatalog(CatalogName catalogName) Remove a catalog if present.
-
Method Details
-
getCatalogs
Collection<CatalogStore.StoredCatalog> getCatalogs()Get all catalogs. This is called at startup to load the existing catalogs. -
createCatalogProperties
CatalogProperties createCatalogProperties(CatalogName catalogName, ConnectorName connectorName, Map<String, String> properties) Create a catalog properties from the raw properties. This allows the store to assign the initial handle for a catalog before the catalog is created. This does not add the catalog to the store. -
addOrReplaceCatalog
Add or replace catalog properties. -
removeCatalog
Remove a catalog if present.
-