Previously you could use QueryListener for processing large queries.
findIterate() and findVisit() have been added to provide support for doing this with the ability to break out of the 'iteration'.
Fixed in HEAD.