We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb416db commit a1ab574Copy full SHA for a1ab574
firebase-firestore/src/main/java/com/google/firebase/firestore/AggregateQuerySnapshot.java
@@ -17,7 +17,6 @@
17
import static com.google.firebase.firestore.util.Preconditions.checkNotNull;
18
19
import androidx.annotation.NonNull;
20
-import androidx.annotation.Nullable;
21
import java.util.Objects;
22
23
/**
@@ -44,12 +43,8 @@ public AggregateQuery getQuery() {
44
43
return query;
45
}
46
47
- /**
48
- * @return The result of a document count aggregation. Returns null if no count aggregation is
49
- * available in the result.
50
- */
51
- @Nullable
52
- public Long getCount() {
+ /** @return The result of a document count aggregation. */
+ public long getCount() {
53
return count;
54
55
0 commit comments