Package com.basho.riak.client.core.operations

Examples of com.basho.riak.client.core.operations.MapReduceOperation.await()


        MapReduceOperation mrOp =
            new MapReduceOperation.Builder(BinaryValue.unsafeCreate(query.getBytes()))
                .build();
       
        cluster.execute(mrOp);
        mrOp.await();
        assertTrue(mrOp.isSuccess());
        ArrayNode resultList = mrOp.get().getResults().get(1);
       
        // The query should return one result which is a JSON array containing a
        // single JSON object that is a asSet of word counts.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.