I'm not too sure how that iteration works under the covers, but if you
want to iterate over the result set multiple times then this is surely
faster:
ListKeyFakeEntity arr =
ofy.query(FakeEntity.class).filter(lookAtMe, woo).listKeys(); //
Or use .list() to get the actual entities
On Feb 7, 8:30
I was considering calling list, but what's nice about the iterative
method is that if I ever run out of time on a task (i.e. catch the
exception that is thrown when the deadline is approaching) I can grab
a cursor from the iterator and kick off a new task starting where I
left off on the query...
Thanks, I'll definitely run it through appstats as soon as I get a
chance...
...here's the code, though, if you'd like to take a look. Nothing too
crazy. I'm using Objectify.
Objectify ofy = new DAO().ofy();
ArrayListKeyFakeEntity arr = new ArrayListKeyFakeEntity();
QueryFakeEntity query =