public class MapReduceOperation extends FutureOperation<MapReduceOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbMapRedResp,BinaryValue>
| Modifier and Type | Class and Description |
|---|---|
static class |
MapReduceOperation.Builder |
static class |
MapReduceOperation.Response |
| Modifier and Type | Method and Description |
|---|---|
protected MapReduceOperation.Response |
convert(List<com.basho.riak.protobuf.RiakKvPB.RpbMapRedResp> rawResponse) |
protected RiakMessage |
createChannelMessage() |
protected com.basho.riak.protobuf.RiakKvPB.RpbMapRedResp |
decode(RiakMessage rawMessage) |
protected boolean |
done(com.basho.riak.protobuf.RiakKvPB.RpbMapRedResp message)
Detect when the streaming operation is finished
|
BinaryValue |
getQueryInfo()
Returns information related to the operation performed.
|
addListener, await, await, cancel, cause, channelMessage, get, get, getNow, isCancelled, isDone, isSuccess, removeListener, setResponseprotected MapReduceOperation.Response convert(List<com.basho.riak.protobuf.RiakKvPB.RpbMapRedResp> rawResponse)
convert in class FutureOperation<MapReduceOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbMapRedResp,BinaryValue>protected RiakMessage createChannelMessage()
createChannelMessage in class FutureOperation<MapReduceOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbMapRedResp,BinaryValue>protected com.basho.riak.protobuf.RiakKvPB.RpbMapRedResp decode(RiakMessage rawMessage)
decode in class FutureOperation<MapReduceOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbMapRedResp,BinaryValue>protected boolean done(com.basho.riak.protobuf.RiakKvPB.RpbMapRedResp message)
FutureOperationdone in class FutureOperation<MapReduceOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbMapRedResp,BinaryValue>message - raw messagepublic BinaryValue getQueryInfo()
RiakFutureUseful in async operations when you want to know what operation this future refers to.
getQueryInfo in interface RiakFuture<MapReduceOperation.Response,BinaryValue>getQueryInfo in class FutureOperation<MapReduceOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbMapRedResp,BinaryValue>Copyright © 2015. All rights reserved.