Package com.basho.riak.client.api.commands.indexes

Examples of com.basho.riak.client.api.commands.indexes.IntIndexQuery


        svFuture.await();
        assertTrue(svFuture.isSuccess());
       
        Namespace ns = new Namespace(Namespace.DEFAULT_BUCKET_TYPE, bucketName.toString());
       
        IntIndexQuery iiq =
            new IntIndexQuery.Builder(ns, "test_index", 123456L).withKeyAndIndex(true).build();
        IntIndexQuery.Response iResp = client.execute(iiq);
       
        assertTrue(iResp.hasEntries());
        assertEquals(2, iResp.getEntries().size());
View Full Code Here


        svFuture.await();
        assertTrue(svFuture.isSuccess());
       
        Namespace ns = new Namespace(Namespace.DEFAULT_BUCKET_TYPE, bucketName.toString());
       
        IntIndexQuery iiq =
            new IntIndexQuery.Builder(ns, "test_index", Long.MIN_VALUE, Long.MAX_VALUE)
                .withKeyAndIndex(true)
                .build();
       
        IntIndexQuery.Response iResp = client.execute(iiq);
View Full Code Here

TOP

Related Classes of com.basho.riak.client.api.commands.indexes.IntIndexQuery

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.