Class CatalogDatabaseImpl

java.lang.Object
org.apache.flink.table.catalog.CatalogDatabaseImpl
All Implemented Interfaces:
org.apache.flink.table.catalog.CatalogDatabase

@Internal public class CatalogDatabaseImpl extends Object implements org.apache.flink.table.catalog.CatalogDatabase
A implementation of CatalogDatabase.
  • Constructor Details

    • CatalogDatabaseImpl

      public CatalogDatabaseImpl(Map<String,String> properties, @Nullable String comment)
  • Method Details

    • getProperties

      public Map<String,String> getProperties()
      Get a map of properties associated with the database.
      Specified by:
      getProperties in interface org.apache.flink.table.catalog.CatalogDatabase
    • getComment

      public String getComment()
      Get comment of the database.
      Specified by:
      getComment in interface org.apache.flink.table.catalog.CatalogDatabase
      Returns:
      comment of the database
    • copy

      public org.apache.flink.table.catalog.CatalogDatabase copy()
      Get a deep copy of the CatalogDatabase instance.
      Specified by:
      copy in interface org.apache.flink.table.catalog.CatalogDatabase
      Returns:
      a copy of CatalogDatabase instance
    • copy

      public org.apache.flink.table.catalog.CatalogDatabase copy(Map<String,String> properties)
      Specified by:
      copy in interface org.apache.flink.table.catalog.CatalogDatabase
    • getDescription

      public Optional<String> getDescription()
      Get a brief description of the database.
      Specified by:
      getDescription in interface org.apache.flink.table.catalog.CatalogDatabase
      Returns:
      an optional short description of the database
    • getDetailedDescription

      public Optional<String> getDetailedDescription()
      Get a detailed description of the database.
      Specified by:
      getDetailedDescription in interface org.apache.flink.table.catalog.CatalogDatabase
      Returns:
      an optional long description of the database