Java client API
russell.brown at me.com
Sun Mar 27 03:09:58 EDT 2011
On 27 Mar 2011, at 05:13, Wilson MacGyver wrote:
> two questions jump out right away
> 1: how do you fetch linked records using the API? and how do you setup
> link for records?
I didn't add the m/r or link walking stuff yet, will do soon and post a link, it would be something like it is now, a builder and an execute/submit method to run the job. The result would be Java types and not tied to the the Crockford JSON lib.
> 2: it's not obvious from reading the code how to set the r and w value
> during read and write. is it
> using the rw() method?
Ah, well I guess it is not clear enough. on a Fetch you'd set the r(), on a Store you'd set the w() and dw() and on a delete you'd set the dw() (much like now). An example usage is here.
Was using an actual type (like FetchCAP, StoreCAP and DeleteCAP) a better option, do you think?
Thanks for the comments, I'll see what I can do to make it clearer.
> Omnem crede diem tibi diluxisse supremum.
> riak-users mailing list
> riak-users at lists.basho.com
More information about the riak-users