Riak Java Client and Links

Brian Roach roach at basho.com
Tue Jan 27 09:45:22 EST 2015


Cosmin,

To use links with a POJO, there's an annotation:

http://basho.github.io/riak-java-client/2.0.0/com/basho/riak/client/api/annotations/RiakLinks.html

- Roach

On Tue, Jan 27, 2015 at 4:29 AM, Cosmin Marginean <cosminaru at gmail.com> wrote:
> I am implementing a custom way to handle Riak Links using a Java Client.
> Looking at the samples available
> (https://github.com/basho/riak-java-client/wiki/Using-links which is
> outdated) it seems that it’s not entirely straightforward to use RiakLinks
> with POJOs and automatic conversion. More importantly, when one wants to use
> RiakLinks, they have to use RiakObject and manually serialise the object.
>
> I’d like to know if I’m missing something in the docs or if there are
> alternative practices for this usecase (POJO + “manually" handled links)
>
> Thank you
> Cos
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>




More information about the riak-users mailing list