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