public interface BucketClient
| Modifier and Type | Method and Description |
|---|---|
Bucket |
create(Bucket bucket)
Creates the given bucket.
|
Bucket |
delete(String bucketId)
Deletes the bucket with the given id.
|
Bucket |
get(String bucketId)
Gets the bucket with the given id.
|
List<Bucket> |
getAll()
Gets all buckets.
|
Fields |
getFields()
Gets the fields that can be used to sort/search buckets.
|
Bucket |
update(Bucket bucket)
Updates the given bucket.
|
Bucket create(Bucket bucket) throws NiFiRegistryException, IOException
bucket - the bucket to createNiFiRegistryExceptionIOExceptionBucket get(String bucketId) throws NiFiRegistryException, IOException
bucketId - the id of the bucket to retrieveNiFiRegistryExceptionIOExceptionBucket update(Bucket bucket) throws NiFiRegistryException, IOException
bucket - the bucket with updates, must contain the idNiFiRegistryExceptionIOExceptionBucket delete(String bucketId) throws NiFiRegistryException, IOException
bucketId - the id of the bucket to deleteNiFiRegistryExceptionIOExceptionFields getFields() throws NiFiRegistryException, IOException
NiFiRegistryExceptionIOExceptionList<Bucket> getAll() throws NiFiRegistryException, IOException
NiFiRegistryExceptionIOExceptionCopyright © 2018 Apache NiFi Project. All rights reserved.