[appengine-java] Datastore APIs new pricing - Query (FirstResult/MaxResults)

2011-09-26 Thread Peter Dev
http://code.google.com/appengine/kb/postpreviewpricing.html#two_entities_fetched_operations_consumed *** Query like this: Query query = session.createQuery("select u from User u order by u.age"); query.setFirstResult(10); query.setMaxResults(30); = 30 read ops (first 10 skipped) or 40 read ops (GA

[appengine-java] Datastore APIs new pricing - Query (FirstResult/MaxResults)

2011-09-26 Thread Peter Dev
Datastore APIs new pricing - Query (FirstResult/MaxResults) http://code.google.com/appengine/kb/postpreviewpricing.html#two_entities_fetched_operations_consumed - one more question. Query like this: Query query = session.createQuery("select u from User u order by u.age"); query.setFirstResult(10);