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 and...@andreacfm.com http://www.andreacfm.com Railo Team and...@getrailo.org http://getrailo.org
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com