Efficient way to fetch all records from a bucket
gfborn at gmail.com
Sat Jan 28 07:21:44 EST 2017
I think this link
? You need list_keys/2 function.
2017-01-28 13:33 GMT+03:00 Russell Brown <russell.brown at mac.com>:
> IF you use leveldb, there is a function in the riak-erlang-client that
> gets all objects in a bucket, I don’t know if it has been implemented in
> the java client as it was written specifically for riak-cs.
> On 24 Jan 2017, at 07:54, Sat <satyacareer at gmail.com> wrote:
> > Hi ,
> > I am planning to use riak-client 2.2.0 with java technology.
> > What I understood is, If I have to fetch all records which are falling
> > one bucket, I need to first fetch all keys then based on those keys I
> > to fetch these values. This is going to be in two steps. And first step
> > seems to be very costly operation.
> > Just wanted to know is there any efficient way by which I can fetch all
> > record from the bucket in a single call ?
> > Help would be appreciated.
> > --
> > View this message in context: http://riak-users.197444.n3.
> > Sent from the Riak Users mailing list archive at Nabble.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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users