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.spi.DatasetRepository |
getDatasetRepository()
Get the
DatasetRepository |
java.lang.String |
getNamespace()
Get the namespace to use.
|
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
|
void |
setNamespace(java.lang.String namespace)
Namespace to use.
|
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 setNamespace(java.lang.String namespace)
namespace - the namespacepublic java.lang.String getNamespace()
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic org.kitesdk.data.spi.DatasetRepository getDatasetRepository()
DatasetRepository