Package org.apache.flink.table.catalog
Class AbstractCatalogStore
- java.lang.Object
-
- org.apache.flink.table.catalog.AbstractCatalogStore
-
- All Implemented Interfaces:
CatalogStore
@Internal public abstract class AbstractCatalogStore extends Object implements CatalogStore
The AbstractCatalogStore class is an abstract base class for implementing a catalog store.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisOpenCatalog store state.
-
Constructor Summary
Constructors Constructor Description AbstractCatalogStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckOpenState()Checks whether the catalog store is currently open.voidclose()Closes the catalog store.voidopen()Opens the catalog store.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.table.catalog.CatalogStore
contains, getCatalog, listCatalogs, removeCatalog, storeCatalog
-
-
-
-
Method Detail
-
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
-
-