Reference documentation and code samples for the Google Cloud Datastore v1 API class AggregationResult.
The result of a single bucket from a Datastore aggregation query.
The keys of aggregate_properties are the same for all results in an
aggregation query, unlike entity queries which can have different fields
present for each result.
The result of the aggregation functions, ex: COUNT(*) AS total_entities.
The key is the
[alias][google.datastore.v1.AggregationQuery.Aggregation.alias] assigned to
the aggregation function on input and the size of this map equals the
number of aggregation functions in the query.
[[["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 2025-03-21 UTC."],[[["The latest version available for the Google Cloud Datastore v1 API class `AggregationResult` is 4.15.0, while the current page focuses on version 4.8.0."],["`AggregationResult` is a class that represents the result of a single bucket from a Datastore aggregation query, as defined within the Google Cloud Datastore v1 API."],["The `AggregationResult` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, while inheriting from `object`."],["The `AggregateProperties` property within the `AggregationResult` class is a `MapField` that stores the results of aggregation functions with string keys and `Value` values, where the keys represent the assigned alias."],["The class `AggregationResult` has two constructors, a default one, and another one that takes in an `AggregationResult` as a parameter."]]],[]]