Hi,
I am trying to get a keys list using the java driver like this:
BucketResponse r = this.rc.listBucket(this.bucket);
String key;
int counter =0;
if (r.isSuccess()) {
RiakBucketInfo info = r.getBucketInfo();
Collection<String> keys = info.getKeys();
Iterator it = keys.iterator();
while(it.hasNext()){
key = (String) it.next();
if(filter.accept(key)){
if(remove(key)) counter++;
}
}
}
My issue is that I always get an emtpy list while I am sure keys exists in
the bucket.
Any suggestion?
--
Andrea Campolonghi
Cell : +39 347 2298435
[email protected]
http://www.andreacfm.com
Railo Team
[email protected]
http://getrailo.org
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com