Java client API

Hec H hec0101 at yahoo.co.uk
Thu Mar 24 16:51:01 EDT 2011


Really cool to see general thoughts on java driver. Non related: +1 Jetty driver 
- pretty granular api behavior plus intuitive interface. Also Stringtree offers 
a flawless mapping of hashmap - json and seems pretty flexible.


________________________________
From: Russell Brown <russell.brown at me.com>
To: Sean Cribbs <sean at basho.com>
Cc: riak-users at lists.basho.com
Sent: Thu, 24 March, 2011 15:43:50
Subject: Re: Java client API


On 24 Mar 2011, at 14:15, Sean Cribbs wrote:

>>> Likewise, I'd like to suggest RiakDoc
>> 
>> I can see why but I think that might be too specific, not every entry in riak 
>>is a document (but every document in riak is an entry.)
>> 
> 
> I understand the desire to have a better name for what you're storing in Riak 
>(I went down that road myself in the Ruby client for a while), but for 
>consistency's sake it makes most sense to use "object" over "entry" or "doc". 
>Using something else just invites confusion when someone reads the wiki and 
>other documentation and then tries to apply what they learned to a specific 
>language driver.

Oh yeah. I had not even considered that. A strong enough reason to settle it 
(for me at least.)

> That said, there's no reason you can't build abstractions over the top of the 
>object that are documents, entries, blobs, etc.
> 
> "RObject" is the class name the Ruby client uses, for what it's worth.
> 
> Sean Cribbs <sean at basho.com>
> Developer Advocate
> Basho Technologies, Inc.
> http://basho.com/
> 
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
riak-users at lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110324/b2d83015/attachment.html>


More information about the riak-users mailing list