public final class FetchSet extends FetchDatatype<RiakSet,FetchSet.Response,Location>
Namespace ns = new Namespace("my_type", "my_bucket");
Location loc = new Location(ns, "my_key");
FetchSet fs = new FetchSet.Builder(loc).build();
FetchSet.Response resp = client.execute(fs);
RiakSet rSet = resp.getDatatype();
Set<BinaryValue> set = rSet.view();
Modifier and Type | Class and Description |
---|---|
static class |
FetchSet.Builder
Builder used to construct a FetchSet command.
|
static class |
FetchSet.Response
Response from a FetchSet command.
|
FetchDatatype.Option<T>
Modifier and Type | Method and Description |
---|---|
protected RiakFuture<FetchSet.Response,Location> |
executeAsync(RiakCluster cluster) |
RiakSet |
extractDatatype(RiakDatatype element) |
buildCoreOperation, withOption
execute
protected final RiakFuture<FetchSet.Response,Location> executeAsync(RiakCluster cluster)
executeAsync
in class RiakCommand<FetchSet.Response,Location>
public RiakSet extractDatatype(RiakDatatype element)
extractDatatype
in class FetchDatatype<RiakSet,FetchSet.Response,Location>
Copyright © 2016. All rights reserved.