Package org.apache.flink.table.api
Class FormatDescriptor
java.lang.Object
org.apache.flink.table.api.FormatDescriptor
Describes a
format and its options for use with TableDescriptor.
Formats are responsible for encoding and decoding data in table connectors. Note that not
every connector has a format, while others may have multiple formats (e.g. the Kafka connector
has separate formats for keys and values). Common formats are "json", "csv", "avro", etc. See
Format for more details.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FormatDescriptor.BuilderCreates a newFormatDescriptor.Builderdescribing a format with the given format identifier.inthashCode()toString()
-
Method Details
-
forFormat
Creates a newFormatDescriptor.Builderdescribing a format with the given format identifier.- Parameters:
format- The factory identifier for the format.
-
getFormat
-
getOptions
-
toString
-
equals
-
hashCode
public int hashCode()
-