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