In some situations, you may want to read a range of data instead of specific rows and columns. For this case, Fluo supports [creating scanners][scanner] over ranges. These scanners implement Java Iterable and can be used with foreach loops. Scanners also support reading a subset of columns within a range.
To specify a range, Fluo has a simple POJO called [Span]. The name was chosen so it would not conflict with Accumulo's Range. [Span] has multiple static helper methods for creating common ranges, like a range over all rows with a given prefix. Try the following exercise using scanners.
Scanners also read data using snapshot isolation. To show this, try modifying the exercise above to change data after s1 is created but before the scans happen.
[Span]: {{ site.fluo_api_static }}/{{ site.latest_fluo_release }}/org/apache/fluo/api/data/Span.html [scanner]: {{ site.fluo_api_static }}/{{ site.latest_fluo_release }}/org/apache/fluo/api/client/SnapshotBase.html#scanner--