Package com.basho.riak.client.raw.query.indexes

Examples of com.basho.riak.client.raw.query.indexes.IntValueQuery


     */
    private IndexQuery makeValueQuery() {
        if (value.getClass().equals(String.class)) {
            return new BinValueQuery((BinIndex) index, bucket, (String) value);
        } else if (value.getClass().equals(Integer.class)) {
            return new IntValueQuery((IntIndex) index, bucket, (Integer) value);
        }
        return null;
    }
View Full Code Here


     */
    private IndexQuery makeValueQuery() {
        if (value.getClass().equals(String.class)) {
            return new BinValueQuery((BinIndex) index, bucket, (String) value);
        } else if (Number.class.isAssignableFrom(value.getClass())) {
            return new IntValueQuery((IntIndex) index, bucket, ((Number)value).longValue());
        }
        return null;
    }
View Full Code Here

        if (indexName != null && indexName.endsWith("_int")) {
            if (isRange) {
                query = new IntRangeQuery(IntIndex.named(indexName), bucket, (Integer) from, (Integer) to);
            } else {
                query = new IntValueQuery(IntIndex.named(indexName), bucket, (Integer) value);
            }
        }

        if (indexName != null && indexName.endsWith("_bin")) {
            if (isRange) {
View Full Code Here

     */
    private IndexQuery makeValueQuery() {
        if (value.getClass().equals(String.class)) {
            return new BinValueQuery((BinIndex) index, bucket, (String) value);
        } else if (Number.class.isAssignableFrom(value.getClass())) {
            return new IntValueQuery((IntIndex) index, bucket, ((Number)value).longValue());
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of com.basho.riak.client.raw.query.indexes.IntValueQuery

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.