public class FullBucketRead extends SecondaryIndexQuery<BinaryValue,FullBucketRead.Response,FullBucketRead>
Command might be executed with or without CoveragePlanOperation.Response.CoverageEntry.
If coverage entry/context is provided, the only primary writes that related to the coverage context will be returned,
otherwise all data will be returned. All execution options may be used in conjunction
with coverage context.
Unlike 2i queries, FullBucketRead may return values/objects as part of the response and, as a result, it has better performance.
To activate this option you need to set SecondaryIndexQuery.returnBody
parameter.
Note that this command mustn't be used without coverage context for querying buckets that contain a big amount of data.
CoveragePlan| Modifier and Type | Class and Description |
|---|---|
static class |
FullBucketRead.Builder
Builder used to construct a FullBucketRead command.
|
protected class |
FullBucketRead.RawQueryFuture |
static class |
FullBucketRead.Response |
SecondaryIndexQuery.IndexConverter<T>, SecondaryIndexQuery.Init<S,T extends SecondaryIndexQuery.Init<S,T>>, SecondaryIndexQuery.Typecontinuation, coverageContext, end, indexName, match, maxResults, namespace, paginationSort, returnBody, returnTerms, start, termFilter, timeout| Modifier | Constructor and Description |
|---|---|
protected |
FullBucketRead(FullBucketRead.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected RiakFuture<FullBucketRead.Response,FullBucketRead> |
executeAsync(RiakCluster cluster) |
protected SecondaryIndexQuery.IndexConverter<BinaryValue> |
getConverter() |
createCoreQuery, equals, executeCoreAsync, getContinuation, getIndexName, getMatchValue, getMaxResults, getNamespace, getPaginationSort, getRangeEnd, getRangeStart, getReturnKeyAndIndex, getTermFilter, getTimeout, hashCode, toStringexecute, executeprotected FullBucketRead(FullBucketRead.Builder builder)
protected SecondaryIndexQuery.IndexConverter<BinaryValue> getConverter()
getConverter in class SecondaryIndexQuery<BinaryValue,FullBucketRead.Response,FullBucketRead>protected RiakFuture<FullBucketRead.Response,FullBucketRead> executeAsync(RiakCluster cluster)
executeAsync in class RiakCommand<FullBucketRead.Response,FullBucketRead>Copyright © 2016. All rights reserved.