Package io.confluent.flink.plugin
Class ConfluentTableDescriptor
java.lang.Object
org.apache.flink.table.api.TableDescriptor
io.confluent.flink.plugin.ConfluentTableDescriptor
A
TableDescriptor for creating tables located in Confluent Cloud programmatically.
Compared to TableDescriptor, this class adds support for Confluent's system columns
and convenience methods for working with Confluent tables.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionforConnector(String connectorIdentifier) Creates aTableDescriptorfor a table in Confluent Cloud.Creates aTableDescriptorfor a Confluent-managed table.Converts this immutable instance into a mutableTableDescriptor.Builder.Methods inherited from class org.apache.flink.table.api.TableDescriptor
equals, getComment, getDistribution, getOptions, getPartitionKeys, getSchema, hashCode, toCatalogTable, toString
-
Method Details
-
forManaged
Creates aTableDescriptorfor a Confluent-managed table.The descriptor is pre-configured with
'connector' = 'confluent'. Use the returnedConfluentTableDescriptor.Builderto further customize the table. -
forConnector
Creates aTableDescriptorfor a table in Confluent Cloud.The descriptor is pre-configured with given
'connector'. Use the returnedConfluentTableDescriptor.Builderto further customize the table. -
toBuilder
Description copied from class:TableDescriptorConverts this immutable instance into a mutableTableDescriptor.Builder.- Overrides:
toBuilderin classTableDescriptor
-