public class DataSourcesRegistry extends Object
Modifier and Type | Method and Description |
---|---|
static DataSource |
construct(URI uri,
String inputFormatClass,
String outputFormatClass,
List<FieldInfo> fields) |
static ISqlTridentDataSource |
constructTridentDataSource(URI uri,
String inputFormatClass,
String outputFormatClass,
Properties properties,
List<FieldInfo> fields) |
static Map<String,DataSourcesProvider> |
providerMap()
Allow unit tests to inject data sources.
|
public static DataSource construct(URI uri, String inputFormatClass, String outputFormatClass, List<FieldInfo> fields)
public static ISqlTridentDataSource constructTridentDataSource(URI uri, String inputFormatClass, String outputFormatClass, Properties properties, List<FieldInfo> fields)
public static Map<String,DataSourcesProvider> providerMap()
Allow unit tests to inject data sources.
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.