public class ListKeysOperation extends FutureOperation<ListKeysOperation.Response,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<RiakKvPB.RpbListKeysResp> rawResponse) |
protected RiakMessage |
createChannelMessage() |
protected RiakKvPB.RpbListKeysResp |
decode(RiakMessage rawMessage) |
protected boolean |
done(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, checkAndGetSingleResponse, get, get, getNow, isCancelled, isDone, isSuccess, removeListener, setComplete, setResponseprotected ListKeysOperation.Response convert(List<RiakKvPB.RpbListKeysResp> rawResponse)
convert in class FutureOperation<ListKeysOperation.Response,RiakKvPB.RpbListKeysResp,Namespace>protected RiakMessage createChannelMessage()
createChannelMessage in class FutureOperation<ListKeysOperation.Response,RiakKvPB.RpbListKeysResp,Namespace>protected RiakKvPB.RpbListKeysResp decode(RiakMessage rawMessage)
decode in class FutureOperation<ListKeysOperation.Response,RiakKvPB.RpbListKeysResp,Namespace>protected boolean done(RiakKvPB.RpbListKeysResp message)
FutureOperationdone in class FutureOperation<ListKeysOperation.Response,RiakKvPB.RpbListKeysResp,Namespace>message - raw messagepublic Namespace getQueryInfo()
RiakFutureUseful 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,RiakKvPB.RpbListKeysResp,Namespace>Copyright © 2016. All rights reserved.