Class AggregationResult (2.25.1)

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
Name Description
properties Map<String,? extends com.google.cloud.datastore.Value<?>>

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
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
Name Description
alias String

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

Returns
Type Description
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
Name Description
alias String

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

Returns
Type Description
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
Name Description
alias String

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

Returns
Type Description
Long

An aggregation result value for the given alias.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides