public static class RawIndexQuery.Builder extends SecondaryIndexQuery.Init<BinaryValue,RawIndexQuery.Builder>
Constructor and Description |
---|
Builder(Namespace namespace,
String indexName,
SecondaryIndexQuery.Type type,
BinaryValue match)
Construct a Builder for a RawIndexQuery with a single 2i key.
|
Builder(Namespace namespace,
String indexName,
SecondaryIndexQuery.Type type,
BinaryValue start,
BinaryValue end)
Construct a Builder for a RawIndexQuery with a range.
|
Modifier and Type | Method and Description |
---|---|
RawIndexQuery |
build()
Construct the query.
|
protected RawIndexQuery.Builder |
self() |
withContinuation, withCoverageContext, withKeyAndIndex, withMaxResults, withPaginationSort, withRegexTermFilter, withReturnBody, withTimeout
public Builder(Namespace namespace, String indexName, SecondaryIndexQuery.Type type, BinaryValue start, BinaryValue end)
Note that your index name should not include the Riak _int or _bin extension as these are supplied by the type.
namespace
- The namespace in Riak to query.indexName
- The index name in Riak to query.type
- The Riak index type.start
- The start of the 2i range.end
- The end of the 2i range.public Builder(Namespace namespace, String indexName, SecondaryIndexQuery.Type type, BinaryValue match)
Note that your index name should not include the Riak _int or _bin extension as these are supplied by the type.
namespace
- The namespace in Riak to query.indexName
- The index name in Riak to query.type
- The Riak index type.match
- The 2i key to query.protected RawIndexQuery.Builder self()
self
in class SecondaryIndexQuery.Init<BinaryValue,RawIndexQuery.Builder>
public RawIndexQuery build()
Copyright © 2016. All rights reserved.