public class RedisDataSourcesProvider extends Object implements DataSourcesProvider
Constructor and Description |
---|
RedisDataSourcesProvider() |
Modifier and Type | Method and Description |
---|---|
ISqlStreamsDataSource |
constructStreams(URI uri,
String inputFormatClass,
String outputFormatClass,
Properties props,
List<FieldInfo> fields)
Construct a new data source for streams mode.
|
String |
scheme()
Get the scheme of the data source.
|
public String scheme()
DataSourcesProvider
scheme
in interface DataSourcesProvider
public ISqlStreamsDataSource constructStreams(URI uri, String inputFormatClass, String outputFormatClass, Properties props, List<FieldInfo> fields)
DataSourcesProvider
constructStreams
in interface DataSourcesProvider
uri
- The URI that specifies the data source. The format of the URI
is fully customizable.inputFormatClass
- the name of the class that deserializes data.
It is null when unspecified.outputFormatClass
- the name of the class that serializes data. It
is null when unspecified.fields
- The name of the fields and the schema of the table.Copyright © 2023 The Apache Software Foundation. All rights reserved.