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

Examples of com.basho.riak.client.api.commands.datatypes.FetchMap


      .withOption(Option.RETURN_BODY, true)
      .build();
    UpdateMap.Response updateResponse = client.execute(update);

        Location loc = new Location(carts, updateResponse.getGeneratedKey());
    FetchMap fetch = new FetchMap.Builder(loc).build();
    FetchMap.Response fetchResponse = client.execute(fetch);

    // users
    RiakMap usersMap = fetchResponse.getDatatype();
View Full Code Here


    @Test
    public void testFetch() throws Exception
    {

        FetchMap fetchValue = new FetchMap.Builder(key)
            .withOption(Option.TIMEOUT, 100)
            .withOption(Option.BASIC_QUORUM, true)
            .withOption(Option.N_VAL, 1)
            .withOption(Option.NOTFOUND_OK, true)
            .withOption(Option.PR, new Quorum(1))
View Full Code Here

TOP

Related Classes of com.basho.riak.client.api.commands.datatypes.FetchMap

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.