agemooij/riak-scala-client — pull request #14 by eamelink (2013-05-23 08:31:07+00:00)
Title: Initial Play Iteratees API for secondary indexes lookup

Here's an initial implementation at a Play Iteratees API for the secondary indexes lookup. It doesn't yet resolve the loading of the list of keys into memory, but it does make the fetching of the actual values work with an iteratee.

There's a basic that confirms that the happy flow works, but more extensive tests are needed to confirm that the potential ways of failure are handled correctly.

A flaw of this implementation is that if one of the key lookups returns a `None`, the enumerator is closed, instead of continuing with trying the next key (which would be more like it works for the regular `fetch` methods.