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.AbstractCatalogStoreA generic catalog store implementation that store all catalog configuration in memory.
-
-
Constructor Summary
Constructors Constructor Description GenericInMemoryCatalogStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(String catalogName)Optional<org.apache.flink.table.catalog.CatalogDescriptor>getCatalog(String catalogName)Set<String>listCatalogs()voidremoveCatalog(String catalogName, boolean ignoreIfNotExists)voidstoreCatalog(String catalogName, org.apache.flink.table.catalog.CatalogDescriptor catalog)
-
-
-
Method Detail
-
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
public Optional<org.apache.flink.table.catalog.CatalogDescriptor> getCatalog(String catalogName)
-
contains
public boolean contains(String catalogName)
-
-