Traverses over a shard of data, performing a mini-map/reduce on that dataset.