public class YzFetchIndexOperation extends FutureOperation<YzFetchIndexOperation.Response,com.basho.riak.protobuf.RiakYokozunaPB.RpbYokozunaIndexGetResp,String>
Modifier and Type | Class and Description |
---|---|
static class |
YzFetchIndexOperation.Builder |
static class |
YzFetchIndexOperation.Response |
Modifier and Type | Method and Description |
---|---|
protected YzFetchIndexOperation.Response |
convert(List<com.basho.riak.protobuf.RiakYokozunaPB.RpbYokozunaIndexGetResp> rawResponse) |
protected RiakMessage |
createChannelMessage() |
protected com.basho.riak.protobuf.RiakYokozunaPB.RpbYokozunaIndexGetResp |
decode(RiakMessage rawMessage) |
String |
getQueryInfo()
Returns information related to the operation performed.
|
addListener, await, await, cancel, cause, channelMessage, done, get, get, getNow, isCancelled, isDone, isSuccess, removeListener, setResponse
protected YzFetchIndexOperation.Response convert(List<com.basho.riak.protobuf.RiakYokozunaPB.RpbYokozunaIndexGetResp> rawResponse)
convert
in class FutureOperation<YzFetchIndexOperation.Response,com.basho.riak.protobuf.RiakYokozunaPB.RpbYokozunaIndexGetResp,String>
protected RiakMessage createChannelMessage()
createChannelMessage
in class FutureOperation<YzFetchIndexOperation.Response,com.basho.riak.protobuf.RiakYokozunaPB.RpbYokozunaIndexGetResp,String>
protected com.basho.riak.protobuf.RiakYokozunaPB.RpbYokozunaIndexGetResp decode(RiakMessage rawMessage)
decode
in class FutureOperation<YzFetchIndexOperation.Response,com.basho.riak.protobuf.RiakYokozunaPB.RpbYokozunaIndexGetResp,String>
public String getQueryInfo()
RiakFuture
Useful in async operations when you want to know what operation this future refers to.
getQueryInfo
in interface RiakFuture<YzFetchIndexOperation.Response,String>
getQueryInfo
in class FutureOperation<YzFetchIndexOperation.Response,com.basho.riak.protobuf.RiakYokozunaPB.RpbYokozunaIndexGetResp,String>
Copyright © 2014. All rights reserved.