public static class IntIndexQuery.Builder extends IntIndexQuery.Init<Long,IntIndexQuery.Builder>
| Constructor and Description |
|---|
Builder(Namespace namespace,
String indexName,
byte[] coverContext)
Construct a Builder for a IntIndexQuery with a cover context.
|
Builder(Namespace namespace,
String indexName,
Long match)
Construct a Builder for a IntIndexQuery with a single 2i key.
|
Builder(Namespace namespace,
String indexName,
Long start,
Long end)
Construct a Builder for a IntIndexQuery with a range.
|
| Modifier and Type | Method and Description |
|---|---|
IntIndexQuery |
build()
Construct the query.
|
protected IntIndexQuery.Builder |
self() |
withRegexTermFilterwithContinuation, withCoverageContext, withKeyAndIndex, withMaxResults, withPaginationSort, withReturnBody, withTimeoutpublic Builder(Namespace namespace, String indexName, byte[] coverContext)
Note that your index name should not include the Riak _int or _bin extension.
namespace - The namespace in Riak to query.indexName - The name of the index in Riak.coverContext - cover context.public Builder(Namespace namespace, String indexName, Long start, Long end)
Note that your index name should not include the Riak _int or _bin extension.
namespace - The namespace in Riak to query.indexName - The name of the index in Riak.start - the start of the 2i range.end - the end of the 2i range.public Builder(Namespace namespace, String indexName, Long match)
Note that your index name should not include the Riak _int or _bin extension.
namespace - The namespace in Riak to query.indexName - The name of the index in Riak.match - the 2i key.protected IntIndexQuery.Builder self()
self in class SecondaryIndexQuery.Init<Long,IntIndexQuery.Builder>public IntIndexQuery build()
Copyright © 2016. All rights reserved.