public sealed class AggregationResult : IMessage<AggregationResult>, IEquatable<AggregationResult>, IDeepCloneable<AggregationResult>, IBufferMessage, IMessageReference 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.
Implements
IMessage<AggregationResult>, IEquatable<AggregationResult>, IDeepCloneable<AggregationResult>, IBufferMessage, IMessageNamespace
Google.Cloud.Datastore.V1Assembly
Google.Cloud.Datastore.V1.dll
Constructors
AggregationResult()
public AggregationResult()AggregationResult(AggregationResult)
public AggregationResult(AggregationResult other)| Parameter | |
|---|---|
| Name | Description |
other |
AggregationResult |
Properties
AggregateProperties
public MapField<string, Value> AggregateProperties { get; }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.
| Property Value | |
|---|---|
| Type | Description |
MapField<String, Value> |
|