Class DefaultCatalogModel

java.lang.Object
org.apache.flink.table.catalog.DefaultCatalogModel
All Implemented Interfaces:
CatalogModel

@Internal public class DefaultCatalogModel extends Object implements CatalogModel
A catalog model implementation.
  • Constructor Details

  • Method Details

    • getOptions

      public Map<String,String> getOptions()
      Description copied from interface: CatalogModel
      Returns a map of string-based model options.
      Specified by:
      getOptions in interface CatalogModel
    • getInputSchema

      public Schema getInputSchema()
      Description copied from interface: CatalogModel
      Get the unresolved input schema of the model.
      Specified by:
      getInputSchema in interface CatalogModel
      Returns:
      unresolved input schema of the model.
    • getOutputSchema

      public Schema getOutputSchema()
      Description copied from interface: CatalogModel
      Get the unresolved output schema of the model.
      Specified by:
      getOutputSchema in interface CatalogModel
      Returns:
      unresolved output schema of the model.
    • getComment

      public String getComment()
      Description copied from interface: CatalogModel
      Get comment of the model.
      Specified by:
      getComment in interface CatalogModel
      Returns:
      comment of the model.
    • copy

      public CatalogModel copy()
      Description copied from interface: CatalogModel
      Get a deep copy of the CatalogModel instance.
      Specified by:
      copy in interface CatalogModel
      Returns:
      a copy of the CatalogModel instance
    • copy

      public CatalogModel copy(Map<String,String> newModelOptions)
      Description copied from interface: CatalogModel
      Copy the input model options into the CatalogModel instance.
      Specified by:
      copy in interface CatalogModel
      Returns:
      a copy of the CatalogModel instance with new model options.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object