Package org.apache.flink.table.api
Class ModelDescriptor
java.lang.Object
org.apache.flink.table.api.ModelDescriptor
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.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ModelDescriptor.BuilderforProvider(String provider) Creates a newModelDescriptor.Builderfor the model with the given provider option.inthashCode()Converts this immutable instance into a mutableModelDescriptor.Builder.Converts this descriptor into aCatalogModel.toString()
-
Constructor Details
-
ModelDescriptor
-
-
Method Details
-
toCatalogModel
Converts this descriptor into aCatalogModel. -
toBuilder
Converts this immutable instance into a mutableModelDescriptor.Builder. -
forProvider
Creates a newModelDescriptor.Builderfor the model with the given provider option.- Parameters:
provider- string value of provider for the model.
-
toString
-
equals
-
hashCode
public int hashCode()
-