}
} catch (ConversionException e) {
throw new IOException(e.getMessage());
}
// create a result instance
return new WalkResult() {
public Iterator<Collection<IRiakObject>> iterator() {
return new UnmodifiableIterator<Collection<IRiakObject>>(steps.values().iterator());
}
};
}