public class BinIndexQuery extends SecondaryIndexQuery<String,BinIndexQuery.Response,BinIndexQuery>
A RawIndexQuery is used when you are using strings for your 2i keys. The parameters are provided as String objects.
Namespace ns = new Namespace("my_type", "my_bucket");
String key = "some_key";
BinIndexQuery q = new BinIndexQuery.Builder(ns, "my_index", key).build();
BinIndexQuery.Response resp = client.execute(q);
Modifier and Type | Class and Description |
---|---|
protected class |
BinIndexQuery.BinQueryFuture |
static class |
BinIndexQuery.Builder
Builder used to construct a BinIndexQuery.
|
protected static class |
BinIndexQuery.Init<S,T extends BinIndexQuery.Init<S,T>> |
static class |
BinIndexQuery.Response |
SecondaryIndexQuery.IndexConverter<T>, SecondaryIndexQuery.Type
continuation, end, indexName, match, maxResults, namespace, paginationSort, returnTerms, start, termFilter, timeout
Modifier | Constructor and Description |
---|---|
protected |
BinIndexQuery(BinIndexQuery.Init<String,?> builder) |
Modifier and Type | Method and Description |
---|---|
protected RiakFuture<BinIndexQuery.Response,BinIndexQuery> |
executeAsync(RiakCluster cluster) |
protected SecondaryIndexQuery.IndexConverter<String> |
getConverter() |
createCoreQuery, executeCoreAsync, getContinuation, getIndexName, getMatchValue, getMaxResults, getNamespace, getPaginationSort, getRangeEnd, getRangeStart, getReturnKeyAndIndex, getTermFilter, getTimeout
execute
protected BinIndexQuery(BinIndexQuery.Init<String,?> builder)
protected SecondaryIndexQuery.IndexConverter<String> getConverter()
getConverter
in class SecondaryIndexQuery<String,BinIndexQuery.Response,BinIndexQuery>
protected RiakFuture<BinIndexQuery.Response,BinIndexQuery> executeAsync(RiakCluster cluster)
executeAsync
in class RiakCommand<BinIndexQuery.Response,BinIndexQuery>
Copyright © 2014. All rights reserved.