public class DatasetRepositoryFactory
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
DatasetRepository
instances. Primarily used in configuration code or
application contexts.Constructor and Description |
---|
DatasetRepositoryFactory() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.kitesdk.data.DatasetRepository |
getDatasetRepository()
Get the
DatasetRepository |
void |
setBasePath(java.lang.String basePath)
The base path for the datasets in this repository.
|
void |
setConf(org.apache.hadoop.conf.Configuration configuration)
The Hadoop configuraton to be used
|
public void setConf(org.apache.hadoop.conf.Configuration configuration)
configuration
- Hadoop configurationpublic void setBasePath(java.lang.String basePath)
basePath
- the base path to usepublic void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public org.kitesdk.data.DatasetRepository getDatasetRepository()
DatasetRepository