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