public class FileSystemTableFactory extends Object implements org.apache.flink.table.factories.TableSourceFactory<org.apache.flink.table.data.RowData>, org.apache.flink.table.factories.TableSinkFactory<org.apache.flink.table.data.RowData>
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.
Migrate to new source/sink interface after FLIP-95 is ready.
| Modifier and Type | Field and Description |
|---|---|
static String |
IDENTIFIER |
| Constructor and Description |
|---|
FileSystemTableFactory() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.flink.table.factories.FileSystemFormatFactory |
createFormatFactory(Map<String,String> properties) |
org.apache.flink.table.sinks.TableSink<org.apache.flink.table.data.RowData> |
createTableSink(org.apache.flink.table.factories.TableSinkFactory.Context context) |
org.apache.flink.table.sources.TableSource<org.apache.flink.table.data.RowData> |
createTableSource(org.apache.flink.table.factories.TableSourceFactory.Context context) |
Map<String,String> |
requiredContext() |
List<String> |
supportedProperties() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String IDENTIFIER
public Map<String,String> requiredContext()
requiredContext in interface org.apache.flink.table.factories.TableFactorypublic List<String> supportedProperties()
supportedProperties in interface org.apache.flink.table.factories.TableFactorypublic org.apache.flink.table.sources.TableSource<org.apache.flink.table.data.RowData> createTableSource(org.apache.flink.table.factories.TableSourceFactory.Context context)
createTableSource in interface org.apache.flink.table.factories.TableSourceFactory<org.apache.flink.table.data.RowData>public org.apache.flink.table.sinks.TableSink<org.apache.flink.table.data.RowData> createTableSink(org.apache.flink.table.factories.TableSinkFactory.Context context)
createTableSink in interface org.apache.flink.table.factories.TableSinkFactory<org.apache.flink.table.data.RowData>Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.