public final class FetchBucketProperties extends RiakCommand<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 RiakFuture<FetchBucketPropsOperation.Response,Namespace> |
executeAsync(RiakCluster cluster) |
executepublic FetchBucketProperties(FetchBucketProperties.Builder builder)
protected final RiakFuture<FetchBucketPropsOperation.Response,Namespace> executeAsync(RiakCluster cluster)
executeAsync in class RiakCommand<FetchBucketPropsOperation.Response,Namespace>Copyright © 2015. All rights reserved.