Naftoli Gugenheim <[email protected]> writes:

> MetaMapper has a findAll method, which creates a statement based on its
> parameters, and then iterates over the ResultSet creating Mappers and
> putting them into a List.
> It would be neat if it was possible to process the generated Mappers one by
> one instead of loading them into a list. This way large ResultSets don't
> need to result in a big List in memory.

Indeed

> Is such a thing possible today? If not, what would it take to
> implement?

Not much I think. Deciding the best approach is the hardest I think :-)

> One approach would be foreach/map/flatMap methods. Another would be a find
> method that returns a lazy list or an Iterator.

Perhaps a Stream? 

/Jeppe

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to