Re: Efficient way to fetch all records from a bucket

2017-01-28 Thread Russell Brown
I the link I provided gives you the _objects_ too. list_keys gives only keys. On 28 Jan 2017, at 12:21, Grigory Fateyev wrote: > Hello! > > I think this link > https://github.com/basho/riak-erlang-client/blob/develop/src/riakc_pb_socket.erl#L506 > ? You need list_keys/2 function. > > 2017-01

Re: Efficient way to fetch all records from a bucket

2017-01-28 Thread Grigory Fateyev
Hello! I think this link https://github.com/basho/riak-erlang-client/blob/develop/src/riakc_pb_socket.erl#L506 ? You need list_keys/2 function. 2017-01-28 13:33 GMT+03:00 Russell Brown : > IF you use leveldb, there is a function in the riak-erlang-client that > gets all objects in a bucket, I do

Re: Efficient way to fetch all records from a bucket

2017-01-28 Thread Russell Brown
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. https://github.com/basho/riak-erlang-client/blob/develop/src/riakc_pb_socket.erl#L1130 Chee