public class SecondaryIndexQueryOperation extends PBStreamingFutureOperation<SecondaryIndexQueryOperation.Response,Object,SecondaryIndexQueryOperation.Query>
Modifier and Type | Class and Description |
---|---|
static class |
SecondaryIndexQueryOperation.Builder
Builder that constructs a QueryOperation.
|
static class |
SecondaryIndexQueryOperation.Query |
static class |
SecondaryIndexQueryOperation.Response |
reqBuilder, reqMessageCode
Modifier and Type | Method and Description |
---|---|
protected SecondaryIndexQueryOperation.Response |
convert(List<Object> rawResponse) |
protected Object |
decode(RiakMessage rawMessage) |
protected boolean |
done(Object msg)
Detect when the streaming operation is finished
|
SecondaryIndexQueryOperation.Query |
getQueryInfo()
Returns information related to the operation performed.
|
protected SecondaryIndexQueryOperation.Response |
processStreamingChunk(Object rawResponseChunk) |
getResultsQueue, processMessage
createChannelMessage
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 SecondaryIndexQueryOperation.Response convert(List<Object> rawResponse)
convert
in class FutureOperation<SecondaryIndexQueryOperation.Response,Object,SecondaryIndexQueryOperation.Query>
protected Object decode(RiakMessage rawMessage)
decode
in class PBFutureOperation<SecondaryIndexQueryOperation.Response,Object,SecondaryIndexQueryOperation.Query>
protected boolean done(Object msg)
FutureOperation
done
in class FutureOperation<SecondaryIndexQueryOperation.Response,Object,SecondaryIndexQueryOperation.Query>
msg
- raw messagepublic SecondaryIndexQueryOperation.Query getQueryInfo()
RiakFuture
Useful in async operations when you want to know what operation this future refers to.
getQueryInfo
in interface RiakFuture<SecondaryIndexQueryOperation.Response,SecondaryIndexQueryOperation.Query>
getQueryInfo
in class FutureOperation<SecondaryIndexQueryOperation.Response,Object,SecondaryIndexQueryOperation.Query>
protected SecondaryIndexQueryOperation.Response processStreamingChunk(Object rawResponseChunk)
Copyright © 2016. All rights reserved.