@Override
public Iterable<ValueType> get(int start, int end) {
try {
if (start < 0) {
throw new BadStartIndexException(start);
} else if (end < start) {
throw new BadRangeDefinitionException(start, end);
}
Iterable<Vertex> vertices = prepareQuery().get(start, end);
return createResultsIterable(vertices);