Im running a query and it is currently returning 1400 results and because of this I am getting the following warning in the log file:
com.google.appengine
This is how I apply FetchOptions
, compared to your example code, you might need to tweak a bit:
// ..... build the Query object
FetchOptions fetch_options =
FetchOptions.Builder.withPrefetchSize(100).chunkSize(100);
QueryResultList returned_entities =
datastore_service_instance.prepare(query).asQueryResultList(fetch_options);
Of course that the figures may be changed (100).
If my answer isn't what you're looking for then you're welcome to rephrase your question (edit).
By the way I'm the one who wrote the first linked question.