Class TableDescriptor

java.lang.Object
org.apache.flink.table.api.TableDescriptor
Direct Known Subclasses:
ConfluentTableDescriptor

@PublicEvolving public class TableDescriptor extends Object
Describes a CatalogTable representing a source or sink.

A TableDescriptor is a template for creating a CatalogTable instance. It closely resembles the "CREATE TABLE" SQL DDL statement, containing schema, connector options, and other characteristics. Since tables in Flink are typically backed by external systems, the descriptor describes how a connector (and possibly its format) are configured.

This can be used to register a table in the Table API, see TableEnvironment.createTemporaryTable(String, TableDescriptor).