Class AggregationResult (2.18.5)

public class AggregationResult

Represents a result of an AggregationQuery query submission.

Inheritance

Object > AggregationResult

Constructors

AggregationResult(Map<String,? extends Value<?>> properties)

public AggregationResult(Map<String,? extends Value<?>> properties)
Parameter
NameDescription
propertiesMap<String,? extends com.google.cloud.datastore.Value<?>>

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

get(String alias)

public Long get(String alias)

Returns a result value for the given alias. #getLong(String) is preferred over this method, Use #getLong(String) wherever possible.

Parameter
NameDescription
aliasString

A custom alias provided in the query or an autogenerated alias in the form of 'property_d'

Returns
TypeDescription
Long

An aggregation result value for the given alias.

getDouble(String alias)

public Double getDouble(String alias)

Returns a result value for the given alias.

Parameter
NameDescription
aliasString

A custom alias provided in the query or an autogenerated alias in the form of 'property_d'

Returns
TypeDescription
Double

An aggregation result value for the given alias.

getLong(String alias)

public Long getLong(String alias)

Returns a result value for the given alias.

Parameter
NameDescription
aliasString

A custom alias provided in the query or an autogenerated alias in the form of 'property_d'

Returns
TypeDescription
Long

An aggregation result value for the given alias.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides