Skip to content

Commit e25ae13

Browse files
authored
docs: tweak Count API docs (#1522)
1 parent 9beaadc commit e25ae13

File tree

1 file changed

+8
-9
lines changed
  • google-cloud-firestore/src/main/java/com/google/cloud/firestore

1 file changed

+8
-9
lines changed

google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java

+8-9
Original file line numberDiff line numberDiff line change
@@ -1923,9 +1923,8 @@ boolean shouldRetryQuery(
19231923
* <em>without actually downloading the documents</em>.
19241924
*
19251925
* <p>Using the returned query to count the documents is efficient because only the final count,
1926-
* not the documents' data, is downloaded. The returned query can even count the documents if the
1927-
* result set would be prohibitively large to download entirely (for example thousands of
1928-
* documents).
1926+
* not the documents' data, is downloaded. The returned query can count the documents in cases
1927+
* where the result set is prohibitively large to download entirely (thousands of documents).
19291928
*
19301929
* @return a query that counts the documents in the result set of this query.
19311930
*/
@@ -1935,13 +1934,13 @@ public AggregateQuery count() {
19351934
}
19361935

19371936
/**
1938-
* Calculates the specified aggregations over the documents in the result set of the given query,
1939-
* without actually downloading the documents.
1937+
* Calculates the specified aggregations over the documents in the result set of the given query
1938+
* <em>without actually downloading the documents</em>.
19401939
*
1941-
* <p>Using this function to perform aggregations is efficient because only the final aggregation
1942-
* values, not the documents' data, is downloaded. This function can even perform aggregations of
1943-
* the documents if the result set would be prohibitively large to download entirely (for example
1944-
* thousands of documents).
1940+
* <p>Using the returned query to perform aggregations is efficient because only the final
1941+
* aggregation values, not the documents' data, is downloaded. The returned query can perform
1942+
* aggregations of the documents in cases where the result set is prohibitively large to download
1943+
* entirely (thousands of documents).
19451944
*
19461945
* @return an {@link AggregateQuery} that performs aggregations on the documents in the result set
19471946
* of this query.

0 commit comments

Comments
 (0)