Package com.exasol.bucketfs.list
Class BucketService
- java.lang.Object
-
- com.exasol.bucketfs.list.BucketService
-
public class BucketService extends Object
This class enables to retrieve a list of buckets.
-
-
Constructor Summary
Constructors Constructor Description BucketService(URI bucketServiceUri, ListingRetriever listingRetriever)Create a new instance ofBucketService.
-
-
-
Constructor Detail
-
BucketService
public BucketService(URI bucketServiceUri, ListingRetriever listingRetriever)
Create a new instance ofBucketService.- Parameters:
bucketServiceUri- URI to access the bucket servicelistingRetriever- used to retrieve the raw listing
-
-
Method Detail
-
retrieve
public List<String> retrieve() throws BucketAccessException
- Returns:
- list of children of the current bucket
- Throws:
BucketAccessException- in case of failure
-
-