Suppose I have this code:
Query<Car> q = ofy().load().type(Car.class);
for (Car car : q) {
// Do something with car...
}
How does Query<T>
works, suppose the datastore contains million records, will Query
load all Car
objects into the memory or it will fetch it one by one from the datastore?