public static class BinIndexQuery.Builder extends BinIndexQuery.Init<String,BinIndexQuery.Builder>
Constructor and Description |
---|
BinIndexQuery.Builder(Namespace namespace,
String indexName,
String match)
Construct a Builder for a BinIndexQuery with a single 2i key.
|
BinIndexQuery.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, withKeyAndIndex, withMaxResults, withPaginationSort, withRegexTermFilter, withTimeout
public BinIndexQuery.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 BinIndexQuery.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 © 2014. All rights reserved.