On 15 Sep 2011, at 14:26, vijayakumar wrote: > Thanks Rusell. I compiled the master code base but still I couldn't find the > way to link way in pb.
Have a look at this test[1]. It is exactly the same for both HTTP and PB, it uses subclasses to create the clients, but codes to the interface. Most of the code in the test is setup (to store the graph of linked objects), the pertinent code is on line 89[2]. To do this over protocol buffers just create a PB client, the test creates one here[3]. Hope that helps, let me know if it works for you. Cheers Russell [1] https://github.com/basho/riak-java-client/blob/master/src/test/java/com/basho/riak/client/itest/ITestLinkWalk.java [2] https://github.com/basho/riak-java-client/blob/master/src/test/java/com/basho/riak/client/itest/ITestLinkWalk.java#L89 [3] https://github.com/basho/riak-java-client/blob/master/src/test/java/com/basho/riak/client/itest/ITestPBLinkWalk.java#L31 > > > On Thu, Sep 15, 2011 at 3:21 PM, Russell Brown <russel...@basho.com> wrote: > > On 15 Sep 2011, at 10:46, vijayakumar wrote: > > > I learnt from the mailing list that there is no direct way to link walk on > > PBClient as we do with HttpClient. > > Has any one implemented it on their own. If so, kindly share me the patch. > > You can with the 0-15-SNAPSHOT riak-java-client from master. Though it is > actually implemented as 2 Map/reduce operations. > > > > > Thanks. > > > > > > > > _______________________________________________ > > riak-users mailing list > > riak-users@lists.basho.com > > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com