public class AggregateQuerySnapshot
The results of executing an AggregateQuery.
Methods
equals(Object object)
public boolean equals(Object object)
Compares this object with the given object for equality.
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.- The AggregateQuery of
object
compares equal to that of this object. object
has the same results as this object.
Name | Description |
object | Object The object to compare to this object for equality. |
Type | Description |
boolean |
|
getCount()
public long getCount()
Returns the number of documents in the result set of the underlying query.
Type | Description |
long |
getQuery()
public AggregateQuery getQuery()
Returns the query that was executed to produce this result.
Type | Description |
AggregateQuery |
getReadTime()
public Timestamp getReadTime()
Returns the time at which this snapshot was read.
Type | Description |
com.google.cloud.Timestamp |
hashCode()
public int hashCode()
Calculates and returns the hash code for this object.
Type | Description |
int | the hash code for this object. |