public final class DeleteValue extends RiakCommand<Void,Location>
Deleting an object from Riak is a simple matter of supplying a com.basho.riak.client.query.Location
and executing the DeleteValue operation.
Location loc = new Location("my_bucket")..setBucketType("my_type").setKey("my_key");
DeleteValue dv = new DeleteValue.Builder(loc).build();
DeleteValue.Response resp = client.execute(dv);
| Modifier and Type | Class and Description |
|---|---|
static class |
DeleteValue.Builder
Used to construct a DeleteValue command.
|
static class |
DeleteValue.Option<T> |
| Constructor and Description |
|---|
DeleteValue(DeleteValue.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected RiakFuture<Void,Location> |
executeAsync(RiakCluster cluster) |
executepublic DeleteValue(DeleteValue.Builder builder)
protected RiakFuture<Void,Location> executeAsync(RiakCluster cluster)
executeAsync in class RiakCommand<Void,Location>Copyright © 2014. All rights reserved.