Efficient way to fetch all records from a bucket
russell.brown at icloud.com
Sat Jan 28 05:32:11 EST 2017
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 under
> one bucket, I need to first fetch all keys then based on those keys I need
> 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.nabble.com/Efficient-way-to-fetch-all-records-from-a-bucket-tp4034810.html
> Sent from the Riak Users mailing list archive at Nabble.com.
> riak-users mailing list
> riak-users at lists.basho.com
More information about the riak-users