google app engine chunkSize & prefetchSize - where can I read details on it?

后端 未结 1 742
感动是毒
感动是毒 2021-01-02 16:42

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

相关标签:
1条回答
  • 2021-01-02 17:05

    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).

    0 讨论(0)
提交回复
热议问题