[appengine-java] Re: prefetchSize vs chunkSize

2011-11-20 Thread Max
+1 I am also curious on the answer. I found following code snippet in class QueryTranslator, it looks to some degree these two are the same and prefetchSize overrides chunkSize? DatastorePb.Query proto = new DatastorePb.Query(); if (fetchOptions.getPrefetchSize() != null) {

Re: [appengine-java] Re: prefetchSize vs chunkSize

2011-11-20 Thread Gal Dolber
Found this http://stackoverflow.com/questions/6914069/google-app-engine-chunksize-prefetchsize-where-can-i-read-details-on-it On Sun, Nov 20, 2011 at 8:27 AM, Max thebb...@gmail.com wrote: +1 I am also curious on the answer. I found following code snippet in class QueryTranslator, it looks

Re: [appengine-java] Re: prefetchSize vs chunkSize

2011-11-20 Thread Jeff Schnitzer
Alfred made this comment, which sheds a lot of light on it: On Sat, Nov 19, 2011 at 8:56 PM, Alfred Fuller arfuller+appeng...@google.com wrote: if you set chunkSize and not prefetchSize every call will try to return chuckSize results (even the first call) if you set prefetchSize and