Interface FlinkfulCatalogService

All Known Implementing Classes:
FlinkfulCatalogServiceImpl

public interface FlinkfulCatalogService
  • Method Details

    • listDatabases

      List<CatalogDatabaseDTO> listDatabases(CatalogType type, String catalog)
    • getDatabase

      Optional<CatalogDatabaseDTO> getDatabase(CatalogType type, String catalog, String database)
    • databaseExists

      boolean databaseExists(CatalogType type, String catalog, String database)
    • insertDatabase

      void insertDatabase(CatalogDatabaseDTO database) throws org.apache.flink.table.catalog.exceptions.DatabaseAlreadyExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.DatabaseAlreadyExistException
    • updateDatabase

      void updateDatabase(CatalogDatabaseDTO database) throws org.apache.flink.table.catalog.exceptions.DatabaseNotExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.DatabaseNotExistException
    • deleteDatabase

      void deleteDatabase(CatalogType type, String catalog, String database) throws org.apache.flink.table.catalog.exceptions.DatabaseNotExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.DatabaseNotExistException
    • isDatabaseEmpty

      boolean isDatabaseEmpty(CatalogType type, String catalog, String database)
    • listTables

      List<CatalogTableDTO> listTables(CatalogType type, String catalog, String database)
    • getTable

      Optional<CatalogTableDTO> getTable(CatalogType type, String catalog, String database, String table)
    • tableExists

      boolean tableExists(CatalogType type, String catalog, String database, String table)
    • insertTable

      void insertTable(CatalogType type, String catalog, String database, CatalogTableDTO table) throws org.apache.flink.table.catalog.exceptions.DatabaseNotExistException, org.apache.flink.table.catalog.exceptions.TableAlreadyExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.DatabaseNotExistException
      org.apache.flink.table.catalog.exceptions.TableAlreadyExistException
    • updateTable

      void updateTable(CatalogType type, String catalog, String database, CatalogTableDTO table) throws org.apache.flink.table.catalog.exceptions.TableNotExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.TableNotExistException
    • renameTable

      void renameTable(CatalogType type, String catalog, String database, String currentName, String newName) throws org.apache.flink.table.catalog.exceptions.TableAlreadyExistException, org.apache.flink.table.catalog.exceptions.TableNotExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.TableAlreadyExistException
      org.apache.flink.table.catalog.exceptions.TableNotExistException
    • deleteTable

      void deleteTable(CatalogType type, String catalog, String database, String table) throws org.apache.flink.table.catalog.exceptions.TableNotExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.TableNotExistException
    • listViews

      List<CatalogTableDTO> listViews(CatalogType type, String catalog, String database)
    • getView

      Optional<CatalogTableDTO> getView(CatalogType type, String catalog, String database, String view)
    • viewExists

      boolean viewExists(CatalogType type, String catalog, String database, String view)
    • insertView

      void insertView(CatalogType type, String catalog, String database, CatalogTableDTO view) throws org.apache.flink.table.catalog.exceptions.DatabaseNotExistException, org.apache.flink.table.catalog.exceptions.TableAlreadyExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.DatabaseNotExistException
      org.apache.flink.table.catalog.exceptions.TableAlreadyExistException
    • updateView

      void updateView(CatalogType type, String catalog, String database, CatalogTableDTO view) throws org.apache.flink.table.catalog.exceptions.TableNotExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.TableNotExistException
    • renameView

      void renameView(CatalogType type, String catalog, String database, String currentName, String newName) throws org.apache.flink.table.catalog.exceptions.TableNotExistException, org.apache.flink.table.catalog.exceptions.TableAlreadyExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.TableNotExistException
      org.apache.flink.table.catalog.exceptions.TableAlreadyExistException
    • deleteView

      void deleteView(CatalogType type, String catalog, String database, String viewName) throws org.apache.flink.table.catalog.exceptions.TableNotExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.TableNotExistException
    • listFunctions

      List<CatalogFunctionDTO> listFunctions(CatalogType type, String catalog, String database)
    • getFunction

      Optional<CatalogFunctionDTO> getFunction(CatalogType type, String catalog, String database, String function)
    • functionExists

      boolean functionExists(CatalogType type, String catalog, String database, String function)
    • insertFunction

      void insertFunction(CatalogType type, String catalog, String database, CatalogFunctionDTO function) throws org.apache.flink.table.catalog.exceptions.DatabaseNotExistException, org.apache.flink.table.catalog.exceptions.FunctionAlreadyExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.DatabaseNotExistException
      org.apache.flink.table.catalog.exceptions.FunctionAlreadyExistException
    • updateFunction

      void updateFunction(CatalogType type, String catalog, String database, CatalogFunctionDTO function) throws org.apache.flink.table.catalog.exceptions.FunctionNotExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.FunctionNotExistException
    • deleteFunction

      void deleteFunction(CatalogType type, String catalog, String database, String functionName) throws org.apache.flink.table.catalog.exceptions.FunctionNotExistException
      Throws:
      org.apache.flink.table.catalog.exceptions.FunctionNotExistException