Package org.apache.flink.table.catalog
Class GenericInMemoryCatalogStore
java.lang.Object
org.apache.flink.table.catalog.AbstractCatalogStore
org.apache.flink.table.catalog.GenericInMemoryCatalogStore
- All Implemented Interfaces:
org.apache.flink.table.catalog.CatalogStore
@Internal
public class GenericInMemoryCatalogStore
extends org.apache.flink.table.catalog.AbstractCatalogStore
A generic catalog store implementation that store all catalog configuration in memory.
-
Field Summary
Fields inherited from class org.apache.flink.table.catalog.AbstractCatalogStore
isOpen -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional<org.apache.flink.table.catalog.CatalogDescriptor>getCatalog(String catalogName) voidremoveCatalog(String catalogName, boolean ignoreIfNotExists) voidstoreCatalog(String catalogName, org.apache.flink.table.catalog.CatalogDescriptor catalog) Methods inherited from class org.apache.flink.table.catalog.AbstractCatalogStore
checkOpenState, close, open
-
Constructor Details
-
GenericInMemoryCatalogStore
public GenericInMemoryCatalogStore()
-
-
Method Details
-
storeCatalog
public void storeCatalog(String catalogName, org.apache.flink.table.catalog.CatalogDescriptor catalog) throws org.apache.flink.table.catalog.exceptions.CatalogException - Throws:
org.apache.flink.table.catalog.exceptions.CatalogException
-
removeCatalog
public void removeCatalog(String catalogName, boolean ignoreIfNotExists) throws org.apache.flink.table.catalog.exceptions.CatalogException - Throws:
org.apache.flink.table.catalog.exceptions.CatalogException
-
getCatalog
-
listCatalogs
-
contains
-