Interface CatalogModificationListener


@PublicEvolving public interface CatalogModificationListener
A listener that is notified on specific catalog changed in catalog manager.

It is highly recommended NOT to perform any blocking operation inside the callbacks. If you block the thread the invoker of catalog manager is possibly blocked. You can perform the operation asynchronously in an executor, but you need to handle timing issues.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Callback on catalog modification such as database and table ddl operations.
  • Method Details

    • onEvent

      void onEvent(CatalogModificationEvent event)
      Callback on catalog modification such as database and table ddl operations.