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