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 a 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 the
SecondaryIndexQuery.returnBody parameter.
Note that this command must not 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.
|
static class |
FullBucketRead.Response |
SecondaryIndexQuery.GatherableResponseCreator<T,R extends SecondaryIndexQuery.Response<T,?>>, SecondaryIndexQuery.IndexConverter<T>, SecondaryIndexQuery.Init<S,T extends SecondaryIndexQuery.Init<S,T>>, SecondaryIndexQuery.StreamableResponseCreator<T,R extends SecondaryIndexQuery.Response<T,?>>, SecondaryIndexQuery.TypeStreamableRiakCommand.StreamableResponse<T,S>, StreamableRiakCommand.StreamableRiakCommandWithSameInfo<R extends StreamableRiakCommand.StreamableResponse,I,CoreR>GenericRiakCommand.GenericRiakCommandWithSameInfo<R,I,CoreR>continuation, 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 SecondaryIndexQuery.IndexConverter<BinaryValue> |
getConverter() |
buildCoreOperation, convertInfo, convertResponse, createResponse, equals, getContinuation, getIndexName, getMatchValue, getMaxResults, getNamespace, getPaginationSort, getRangeEnd, getRangeStart, getReturnKeyAndIndex, getTermFilter, getTimeout, hashCode, toStringbuildCoreOperation, executeAsyncStreamingexecuteAsyncexecute, executeprotected FullBucketRead(FullBucketRead.Builder builder)
protected SecondaryIndexQuery.IndexConverter<BinaryValue> getConverter()
getConverter in class SecondaryIndexQuery<BinaryValue,FullBucketRead.Response,FullBucketRead>Copyright © 2016. All rights reserved.