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, processMessagecreateChannelMessageaddListener, await, await, cancel, cause, channelMessage, checkAndGetSingleResponse, get, get, getNow, isCancelled, isDone, isSuccess, processBatchMessage, removeListener, setComplete, setResponseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, await, await, cancel, cause, get, get, getNow, isCancelled, isDone, isSuccess, removeListenerprotected 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)
FutureOperationdone in class FutureOperation<SecondaryIndexQueryOperation.Response,Object,SecondaryIndexQueryOperation.Query>msg - raw messagepublic SecondaryIndexQueryOperation.Query getQueryInfo()
RiakFutureUseful 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.