Send feedback
Class AggregationResult (2.21.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.21.2 keyboard_arrow_down
public class AggregationResult
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
Overrides
get(String alias)
public Long get ( String alias )
Obsolete
Please use getLong(String) instead, see Github issue #1175 for details.
This feature is stable for usage in this major version, but may be deprecated in a future release.
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()
Returns
Type
Description
int
Overrides
toString()
Returns
Type
Description
String
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-06 UTC."],[],[]]