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 <[email protected]> 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
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to