public class PulsarTableFactory extends Object implements org.apache.flink.table.factories.DynamicTableSourceFactory, org.apache.flink.table.factories.DynamicTableSinkFactory
DynamicTableSource and DynamicTableSink.
The main role of this class is to retrieve config options and validate options from config and the table schema. It also sets default values if a config option is not present.
| Modifier and Type | Field and Description |
|---|---|
static String |
IDENTIFIER |
| Constructor and Description |
|---|
PulsarTableFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.table.connector.sink.DynamicTableSink |
createDynamicTableSink(org.apache.flink.table.factories.DynamicTableFactory.Context context) |
org.apache.flink.table.connector.source.DynamicTableSource |
createDynamicTableSource(org.apache.flink.table.factories.DynamicTableFactory.Context context) |
String |
factoryIdentifier() |
Set<org.apache.flink.configuration.ConfigOption<?>> |
forwardOptions()
Format and Delivery guarantee related options are not forward options.
|
Set<org.apache.flink.configuration.ConfigOption<?>> |
optionalOptions() |
Set<org.apache.flink.configuration.ConfigOption<?>> |
requiredOptions() |
public static final String IDENTIFIER
public org.apache.flink.table.connector.source.DynamicTableSource createDynamicTableSource(org.apache.flink.table.factories.DynamicTableFactory.Context context)
createDynamicTableSource in interface org.apache.flink.table.factories.DynamicTableSourceFactorypublic org.apache.flink.table.connector.sink.DynamicTableSink createDynamicTableSink(org.apache.flink.table.factories.DynamicTableFactory.Context context)
createDynamicTableSink in interface org.apache.flink.table.factories.DynamicTableSinkFactorypublic String factoryIdentifier()
factoryIdentifier in interface org.apache.flink.table.factories.Factorypublic Set<org.apache.flink.configuration.ConfigOption<?>> requiredOptions()
requiredOptions in interface org.apache.flink.table.factories.Factorypublic Set<org.apache.flink.configuration.ConfigOption<?>> optionalOptions()
optionalOptions in interface org.apache.flink.table.factories.Factorypublic Set<org.apache.flink.configuration.ConfigOption<?>> forwardOptions()
forwardOptions in interface org.apache.flink.table.factories.DynamicTableFactoryCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.