All the info regarding these two sums up to:
chunkSize
Sets the chunk size. Please read the class javadoc for an explanation of how chunk si
The top of the page you linked to says:
prefetchSize is the number of results retrieved on the first call to the datastore.
chunkSize determines the internal chunking strategy of the Iterator returned by PreparedQuery.asIterator(FetchOptions) and the Iterable returned by PreparedQuery.asIterable(FetchOptions).
chunkSize
's description is a bit vague, admittedly. It specifies the number of results to fetch on subsequent datastore requests (after the first prefetchSize
results have been consumed).