}
EntityScanner<E> newEntityScanner() {
Iterable<MarkerRange> markerRanges = constraints.toKeyRanges();
// TODO: combine all ranges into a single reader
MarkerRange range = Iterables.getOnlyElement(markerRanges);
return dataset.getDao().getScanner(
toPartitionKey(range.getStart()), range.getStart().isInclusive(),
toPartitionKey(range.getEnd()), range.getEnd().isInclusive());
}