public final class FetchBucketProperties extends AsIsRiakCommand<FetchBucketPropsOperation.Response,Namespace>
Namespace ns = new Namespace("my_type", "my_bucket");
FetchBucketProperties fbp = new FetchBucketProperties.Builder(ns).build();
FetchBucketPropsOperation.Response resp = client.execute(fbp);
BucketProperties props = resp.getBucketProperties();
Note that this simply returns the core response FetchBucketPropsOperation.Response
| Modifier and Type | Class and Description |
|---|---|
static class |
FetchBucketProperties.Builder
Builder used to construct a FetchBucketPoperties command.
|
| Constructor and Description |
|---|
FetchBucketProperties(FetchBucketProperties.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected FetchBucketPropsOperation |
buildCoreOperation() |
executeAsyncexecute, executepublic FetchBucketProperties(FetchBucketProperties.Builder builder)
protected FetchBucketPropsOperation buildCoreOperation()
buildCoreOperation in class AsIsRiakCommand<FetchBucketPropsOperation.Response,Namespace>Copyright © 2016. All rights reserved.