Class ModelDescriptor


  • @PublicEvolving
    public class ModelDescriptor
    extends Object
    Describes a CatalogModel representing a model.

    A ModelDescriptor is a template for creating a CatalogModel instance. It closely resembles the "CREATE MODEL" SQL DDL statement, containing input schema, output schema, and other characteristics.

    This can be used to register a Model in the Table API.

    • Constructor Detail

      • ModelDescriptor

        protected ModelDescriptor​(@Nullable
                                  org.apache.flink.table.api.Schema inputSchema,
                                  @Nullable
                                  org.apache.flink.table.api.Schema outputSchema,
                                  Map<String,​String> modelOptions,
                                  @Nullable
                                  String comment)