public class DirectIoDelegate extends org.apache.hadoop.conf.Configured implements DirectIoApi
DirectIo
.Constructor and Description |
---|
DirectIoDelegate(org.apache.hadoop.conf.Configuration configuration)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
<T> ModelInput<T> |
open(Class<? extends DataFormat<T>> formatClass,
String basePath,
String resourcePattern)
Returns data model objects from Direct I/O data sources.
|
public DirectIoDelegate(org.apache.hadoop.conf.Configuration configuration)
configuration
- the current configurationpublic <T> ModelInput<T> open(Class<? extends DataFormat<T>> formatClass, String basePath, String resourcePattern) throws IOException
DirectIoApi
open
in interface DirectIoApi
T
- the data model object typeformatClass
- the Direct I/O data format classbasePath
- the base path (must not contain variables)resourcePattern
- the resource pattern (must not contain variables)IOException
- if failed to open data model objects on the data sourceCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.