Skip to content

Commit d3ace45

Browse files
author
Ajay Kannan
committed
clarify batching in docs
1 parent 2219c82 commit d3ace45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/QueryResults.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
* The result of a Google Cloud Datastore query submission.
2323
* When the result is not typed it is possible to cast it to its appropriate type according to
2424
* the {@link #resultClass} value.
25-
* Results are loaded lazily; therefore it is possible to get a {@code DatastoreException}
25+
* Results are loaded lazily in batches, where batch size is set by Cloud Datastore. As a result, it
26+
* is possible to get a {@code DatastoreException}.
2627
* upon {@link Iterator#hasNext hasNext} or {@link Iterator#next next} calls.
2728
*
2829
* @param <V> the type of the results value.

0 commit comments

Comments
 (0)