Package org.apache.flink.table.catalog
Class AbstractCatalogStore
java.lang.Object
org.apache.flink.table.catalog.AbstractCatalogStore
- All Implemented Interfaces:
CatalogStore
The AbstractCatalogStore class is an abstract base class for implementing a catalog store.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.catalog.CatalogStore
contains, getCatalog, listCatalogs, removeCatalog, storeCatalog
-
Field Details
-
isOpen
protected boolean isOpenCatalog store state.
-
-
Constructor Details
-
AbstractCatalogStore
public AbstractCatalogStore()
-
-
Method Details
-
open
public void open()Opens the catalog store.- Specified by:
openin interfaceCatalogStore
-
close
public void close()Closes the catalog store.- Specified by:
closein interfaceCatalogStore
-
checkOpenState
protected void checkOpenState()Checks whether the catalog store is currently open.- Throws:
IllegalStateException- if the store is closed
-