public final class FetchHll extends FetchDatatype<RiakHll,RiakHll>
Namespace ns = new Namespace("my_type", "my_bucket");
Location loc = new Location(ns, "my_key");
FetchHll fhll = new FetchHll.Builder(loc).build();
RiakHll rHll = client.execute(fhll);
long hllCardinality = rHll.getCardinality();
Modifier and Type | Class and Description |
---|---|
static class |
FetchHll.Builder
Builder used to construct a FetchHll command.
|
FetchDatatype.Option<T>, FetchDatatype.Response<T extends RiakDatatype>
GenericRiakCommand.GenericRiakCommandWithSameInfo<R,I,CoreR>
Modifier and Type | Method and Description |
---|---|
protected RiakHll |
convertResponse(FutureOperation<DtFetchOperation.Response,?,Location> request,
DtFetchOperation.Response coreResponse) |
RiakHll |
extractDatatype(RiakDatatype element) |
buildCoreOperation, getLocation, withOption
convertInfo
executeAsync
execute, execute
protected RiakHll convertResponse(FutureOperation<DtFetchOperation.Response,?,Location> request, DtFetchOperation.Response coreResponse)
convertResponse
in class GenericRiakCommand<RiakHll,Location,DtFetchOperation.Response,Location>
public RiakHll extractDatatype(RiakDatatype element)
extractDatatype
in class FetchDatatype<RiakHll,RiakHll>
Copyright © 2016. All rights reserved.