public class SecondaryIndexQueryOperation extends FutureOperation<SecondaryIndexQueryOperation.Response,RiakKvPB.RpbIndexResp,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 |
| Modifier and Type | Method and Description |
|---|---|
protected SecondaryIndexQueryOperation.Response |
convert(List<RiakKvPB.RpbIndexResp> rawResponse) |
protected RiakMessage |
createChannelMessage() |
protected RiakKvPB.RpbIndexResp |
decode(RiakMessage rawMessage) |
protected boolean |
done(RiakKvPB.RpbIndexResp msg)
Detect when the streaming operation is finished
|
SecondaryIndexQueryOperation.Query |
getQueryInfo()
Returns information related to the operation performed.
|
addListener, await, await, cancel, cause, channelMessage, checkAndGetSingleResponse, get, get, getNow, isCancelled, isDone, isSuccess, removeListener, setComplete, setResponseprotected SecondaryIndexQueryOperation.Response convert(List<RiakKvPB.RpbIndexResp> rawResponse)
protected RiakMessage createChannelMessage()
protected RiakKvPB.RpbIndexResp decode(RiakMessage rawMessage)
protected boolean done(RiakKvPB.RpbIndexResp msg)
FutureOperationdone in class FutureOperation<SecondaryIndexQueryOperation.Response,RiakKvPB.RpbIndexResp,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,RiakKvPB.RpbIndexResp,SecondaryIndexQueryOperation.Query>Copyright © 2016. All rights reserved.