|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kitesdk.data.hcatalog.HCatalogDatasetRepository.Builder
public static class HCatalogDatasetRepository.Builder
A fluent builder to aid in the construction of HCatalogDatasetRepository
instances.
Constructor Summary | |
---|---|
HCatalogDatasetRepository.Builder()
|
Method Summary | |
---|---|
DatasetRepository |
build()
Build an instance of the configured HCatalogDatasetRepository . |
HCatalogDatasetRepository.Builder |
configuration(Configuration configuration)
The Configuration used to find the FileSystem . |
HCatalogDatasetRepository.Builder |
rootDirectory(Path path)
The root directory for dataset files. |
HCatalogDatasetRepository.Builder |
rootDirectory(String uri)
The root directory for metadata and dataset files. |
HCatalogDatasetRepository.Builder |
rootDirectory(URI uri)
The root directory for dataset files. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HCatalogDatasetRepository.Builder()
Method Detail |
---|
public HCatalogDatasetRepository.Builder rootDirectory(Path path)
public HCatalogDatasetRepository.Builder rootDirectory(URI uri)
public HCatalogDatasetRepository.Builder rootDirectory(String uri) throws URISyntaxException
uri
- a String to parse as a URI
URISyntaxException
public HCatalogDatasetRepository.Builder configuration(Configuration configuration)
Configuration
used to find the FileSystem
. Optional. If not
specified, the default configuration will be used.
public DatasetRepository build()
HCatalogDatasetRepository
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |