An {@link java.util.Iterator} which returns {@link org.apache.mahout.cf.taste.model.User}s from a {@link java.sql.ResultSet}. This is a useful way to iterate over all user data since it does not require all data to be read into memory at once. It does however require that the DB connection be held open. Note that this class will only release database resources after {@link #hasNext()} has been called and has returned false;callers should make sure to "drain" the entire set of data to avoid tying up database resources.
|
|