You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: branches/update-datastore/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/QueryResults.java
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,8 @@ public interface QueryResults<V> extends Iterator<V> {
35
35
Class<?> resultClass();
36
36
37
37
/**
38
-
* Returns the Cursor for the point after the value returned in the last {@link #next} call. Until
39
-
* v1beta3 is supported, this field should only be used if you have set a limit and the number of
40
-
* results is equal to that limit.
38
+
* Returns the Cursor for the point after the value returned in the last {@link #next} call.
39
+
* Currently, {@code cursorAfter} returns null in all cases but the last result.
Copy file name to clipboardExpand all lines: branches/update-datastore/gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/QueryResultsImpl.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,9 @@ public Class<?> resultClass() {
100
100
@Override
101
101
publicCursorcursorAfter() {
102
102
//return new Cursor(cursor); // only available in v1beta3
Copy file name to clipboardExpand all lines: branches/update-datastore/gcloud-java-datastore/src/test/java/com/google/gcloud/datastore/DatastoreTest.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -478,7 +478,7 @@ public void testQueryPaginationWithLimit() throws DatastoreRpcException {
0 commit comments