public class ListKeysOperation extends PBStreamingFutureOperation<ListKeysOperation.Response,RiakKvPB.RpbListKeysResp,Namespace>
Modifier and Type | Class and Description |
---|---|
static class |
ListKeysOperation.Builder |
static class |
ListKeysOperation.Response |
reqBuilder, reqMessageCode
Modifier and Type | Method and Description |
---|---|
protected ListKeysOperation.Response |
convert(List<RiakKvPB.RpbListKeysResp> rawResponse) |
protected boolean |
done(RiakKvPB.RpbListKeysResp message)
Detect when the streaming operation is finished
|
Namespace |
getQueryInfo()
Returns information related to the operation performed.
|
protected ListKeysOperation.Response |
processStreamingChunk(RiakKvPB.RpbListKeysResp rawResponseChunk) |
getResultsQueue, processMessage
createChannelMessage, decode
addListener, await, await, cancel, cause, channelMessage, checkAndGetSingleResponse, get, get, getNow, isCancelled, isDone, isSuccess, processBatchMessage, removeListener, setComplete, setResponse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, await, await, cancel, cause, get, get, getNow, isCancelled, isDone, isSuccess, removeListener
protected ListKeysOperation.Response convert(List<RiakKvPB.RpbListKeysResp> rawResponse)
convert
in class FutureOperation<ListKeysOperation.Response,RiakKvPB.RpbListKeysResp,Namespace>
protected boolean done(RiakKvPB.RpbListKeysResp message)
FutureOperation
done
in class FutureOperation<ListKeysOperation.Response,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,RiakKvPB.RpbListKeysResp,Namespace>
protected ListKeysOperation.Response processStreamingChunk(RiakKvPB.RpbListKeysResp rawResponseChunk)
processStreamingChunk
in class PBStreamingFutureOperation<ListKeysOperation.Response,RiakKvPB.RpbListKeysResp,Namespace>
Copyright © 2016. All rights reserved.