Skip to content

Commit 663e54b

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
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}
26-
* upon {@link Iterator#hasNext hasNext} or {@link Iterator#next next} calls.
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} upon {@link Iterator#hasNext hasNext} or
27+
* {@link Iterator#next next} calls.
2728
*
2829
* @param <V> the type of the results value.
2930
*/

0 commit comments

Comments
 (0)