public class FileSystemTableFactory extends Object implements org.apache.flink.table.factories.DynamicTableSourceFactory, org.apache.flink.table.factories.DynamicTableSinkFactory
TableFactory.
1.The partition information should be in the file system path, whether it's a temporary table or a catalog table. 2.Support insert into (append) and insert overwrite. 3.Support static and dynamic partition inserting.
| Modifier and Type | Field and Description |
|---|---|
static String |
IDENTIFIER |
| Constructor and Description |
|---|
FileSystemTableFactory() |
| 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<?>> |
optionalOptions() |
Set<org.apache.flink.configuration.ConfigOption<?>> |
requiredOptions() |
public static final String IDENTIFIER
public String factoryIdentifier()
factoryIdentifier in interface org.apache.flink.table.factories.Factorypublic 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 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.FactoryCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.