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 Details

    • isOpen

      protected boolean isOpen
      Catalog store state.
  • Constructor Details

    • AbstractCatalogStore

      public AbstractCatalogStore()
  • Method Details

    • open

      public void open()
      Opens the catalog store.
      Specified by:
      open in interface CatalogStore
    • close

      public void close()
      Closes the catalog store.
      Specified by:
      close in interface CatalogStore
    • checkOpenState

      protected void checkOpenState()
      Checks whether the catalog store is currently open.
      Throws:
      IllegalStateException - if the store is closed