@InternalExtensionOnly public class AggregateQuerySnapshot extends Object
AggregateQuery
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Compares this object with the given object for equality.
|
long |
getCount()
Returns the number of documents in the result set of the underlying query.
|
AggregateQuery |
getQuery()
Returns the query that was executed to produce this result.
|
com.google.cloud.Timestamp |
getReadTime()
Returns the time at which this snapshot was read.
|
int |
hashCode()
Calculates and returns the hash code for this object.
|
@Nonnull public AggregateQuery getQuery()
@Nonnull public com.google.cloud.Timestamp getReadTime()
public long getCount()
public boolean equals(Object object)
This object is considered "equal" to the other object if and only if all of the following conditions are satisfied:
object
is a non-null instance of AggregateQuerySnapshot
.
AggregateQuery
of object
compares equal to that of this object.
object
has the same results as this object.
Copyright © 2023 Google LLC. All rights reserved.