public class QueryOperation extends TTBFutureOperation<QueryResult,String>
Modifier and Type | Class and Description |
---|---|
static class |
QueryOperation.Builder |
TTBFutureOperation.TTBEncoder, TTBFutureOperation.TTBParser<T>
reqMessageCode, requestBuilder, respMessageCode, responseParser
Modifier and Type | Method and Description |
---|---|
protected QueryResult |
convert(List<byte[]> responses) |
String |
getQueryInfo()
Returns information related to the operation performed.
|
createChannelMessage, decode
addListener, await, await, cancel, cause, channelMessage, checkAndGetSingleResponse, done, get, get, getNow, isCancelled, isDone, isSuccess, processBatchMessage, processMessage, removeListener, setComplete, setResponse
protected QueryResult convert(List<byte[]> responses)
convert
in class FutureOperation<QueryResult,byte[],String>
public String getQueryInfo()
RiakFuture
Useful in async operations when you want to know what operation this future refers to.
getQueryInfo
in interface RiakFuture<QueryResult,String>
getQueryInfo
in class FutureOperation<QueryResult,byte[],String>
Copyright © 2016. All rights reserved.