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