Package org.apache.flink.table.sources
Class CsvAppendTableSourceFactory
- java.lang.Object
-
- org.apache.flink.table.sources.CsvTableSourceFactoryBase
-
- org.apache.flink.table.sources.CsvAppendTableSourceFactory
-
- All Implemented Interfaces:
StreamTableSourceFactory<Row>
,TableFactory
,TableSourceFactory<Row>
@Internal public class CsvAppendTableSourceFactory extends CsvTableSourceFactoryBase implements StreamTableSourceFactory<Row>
Deprecated.The legacy CSV connector has been replaced byFileSource
. It is kept only to support tests for the legacy connector stack.Factory for creating configured instances ofCsvTableSource
in a stream environment.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.legacy.factories.TableSourceFactory
TableSourceFactory.Context
-
-
Constructor Summary
Constructors Constructor Description CsvAppendTableSourceFactory()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StreamTableSource<Row>
createStreamTableSource(Map<String,String> properties)
Deprecated.Creates and configures aStreamTableSource
using the given properties.Map<String,String>
requiredContext()
Deprecated.Specifies the context that this factory has been implemented for.-
Methods inherited from class org.apache.flink.table.sources.CsvTableSourceFactoryBase
createTableSource, getFieldLogicalTypes, supportedProperties
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.legacy.table.factories.StreamTableSourceFactory
createTableSource
-
Methods inherited from interface org.apache.flink.table.legacy.factories.TableFactory
supportedProperties
-
Methods inherited from interface org.apache.flink.table.legacy.factories.TableSourceFactory
createTableSource, createTableSource
-
-
-
-
Method Detail
-
requiredContext
public Map<String,String> requiredContext()
Deprecated.Description copied from interface:TableFactory
Specifies the context that this factory has been implemented for. The framework guarantees to only match for this factory if the specified set of properties and values are met.Typical properties might be: - connector.type - format.type
Specified property versions allow the framework to provide backwards compatible properties in case of string format changes: - connector.property-version - format.property-version
An empty context means that the factory matches for all requests.
- Specified by:
requiredContext
in interfaceTableFactory
- Overrides:
requiredContext
in classCsvTableSourceFactoryBase
-
createStreamTableSource
public StreamTableSource<Row> createStreamTableSource(Map<String,String> properties)
Deprecated.Description copied from interface:StreamTableSourceFactory
Creates and configures aStreamTableSource
using the given properties.- Specified by:
createStreamTableSource
in interfaceStreamTableSourceFactory<Row>
- Parameters:
properties
- normalized properties describing a stream table source.- Returns:
- the configured stream table source.
-
-