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,
String 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, String properties, List<FieldInfo> fields)
public static Map<String,DataSourcesProvider> providerMap()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.