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