Package com.basho.riak.client.core.query

Examples of com.basho.riak.client.core.query.Location


    @Override
    public Location next()
    {
      BinaryValue key = iterator.next();
      return new Location(namespace, key);
    }
View Full Code Here


                    if (coreResponse.hasGeneratedKey())
                    {
                        key = coreResponse.getGeneratedKey();
                    }
                   
                    Location loc = new Location(ns, key);
                   
                    return new Response.Builder()
                        .withValues(coreResponse.getObjectList())
                        .withGeneratedKey(coreResponse.getGeneratedKey())
                        .withLocation(loc) // for ORM
View Full Code Here

    {
        StoreOperation.Builder builder;
       
        if (orm.hasKey())
        {
            Location loc = new Location(orm.getNamespace(), orm.getKey());
            builder = new StoreOperation.Builder(loc);
        }
        else
        {
            builder = new StoreOperation.Builder(orm.getNamespace());
View Full Code Here

TOP

Related Classes of com.basho.riak.client.core.query.Location

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.