@Internal 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) |
protected <I,F extends org.apache.flink.table.factories.DecodingFormatFactory<I>> |
discoverDecodingFormat(org.apache.flink.table.factories.DynamicTableFactory.Context context,
Class<F> formatFactoryClass) |
String |
factoryIdentifier() |
Set<org.apache.flink.configuration.ConfigOption<?>> |
forwardOptions() |
Set<org.apache.flink.configuration.ConfigOption<?>> |
optionalOptions() |
Set<org.apache.flink.configuration.ConfigOption<?>> |
requiredOptions() |
protected void |
validate(org.apache.flink.table.factories.FactoryUtil.TableFactoryHelper helper) |
protected void |
validateTimeZone(String zone)
Similar logic as for
TableConfig. |
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.Factorypublic Set<org.apache.flink.configuration.ConfigOption<?>> forwardOptions()
forwardOptions in interface org.apache.flink.table.factories.DynamicTableFactoryprotected void validate(org.apache.flink.table.factories.FactoryUtil.TableFactoryHelper helper)
protected <I,F extends org.apache.flink.table.factories.DecodingFormatFactory<I>> org.apache.flink.table.connector.format.DecodingFormat<I> discoverDecodingFormat(org.apache.flink.table.factories.DynamicTableFactory.Context context,
Class<F> formatFactoryClass)
protected void validateTimeZone(String zone)
TableConfig.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.