Class ExternalCatalogTable

java.lang.Object
org.apache.flink.table.catalog.ExternalCatalogTable
All Implemented Interfaces:
org.apache.flink.table.catalog.CatalogBaseTable, org.apache.flink.table.catalog.CatalogTable

@Internal public final class ExternalCatalogTable extends Object implements org.apache.flink.table.catalog.CatalogTable
Helper CatalogTable for representing a table that is backed by some inline connector (i.e. DataStream or TableResult.collect()).
  • Constructor Details

    • ExternalCatalogTable

      public ExternalCatalogTable(org.apache.flink.table.api.Schema schema)
  • Method Details

    • getUnresolvedSchema

      public org.apache.flink.table.api.Schema getUnresolvedSchema()
      Specified by:
      getUnresolvedSchema in interface org.apache.flink.table.catalog.CatalogBaseTable
    • getOptions

      public Map<String,String> getOptions()
      Specified by:
      getOptions in interface org.apache.flink.table.catalog.CatalogBaseTable
    • getComment

      public String getComment()
      Specified by:
      getComment in interface org.apache.flink.table.catalog.CatalogBaseTable
    • copy

      public org.apache.flink.table.catalog.CatalogBaseTable copy()
      Specified by:
      copy in interface org.apache.flink.table.catalog.CatalogBaseTable
    • getDescription

      public Optional<String> getDescription()
      Specified by:
      getDescription in interface org.apache.flink.table.catalog.CatalogBaseTable
    • getDetailedDescription

      public Optional<String> getDetailedDescription()
      Specified by:
      getDetailedDescription in interface org.apache.flink.table.catalog.CatalogBaseTable
    • isPartitioned

      public boolean isPartitioned()
      Specified by:
      isPartitioned in interface org.apache.flink.table.catalog.CatalogTable
    • getPartitionKeys

      public List<String> getPartitionKeys()
      Specified by:
      getPartitionKeys in interface org.apache.flink.table.catalog.CatalogTable
    • copy

      public org.apache.flink.table.catalog.CatalogTable copy(Map<String,String> options)
      Specified by:
      copy in interface org.apache.flink.table.catalog.CatalogTable