public sealed class AggregationQuery.Types.Aggregation.Types.Avg : IMessage<AggregationQuery.Types.Aggregation.Types.Avg>, IEquatable<AggregationQuery.Types.Aggregation.Types.Avg>, IDeepCloneable<AggregationQuery.Types.Aggregation.Types.Avg>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Datastore v1 API class AggregationQuery.Types.Aggregation.Types.Avg.
Average of the values of the requested property.
Only numeric values will be aggregated. All non-numeric values including
NULL
are skipped.If the aggregated values contain
NaN
, returnsNaN
. Infinity math follows IEEE-754 standards.If the aggregated value set is empty, returns
NULL
.Always returns the result as a double.
Implements
IMessageAggregationQueryTypesAggregationTypesAvg, IEquatableAggregationQueryTypesAggregationTypesAvg, IDeepCloneableAggregationQueryTypesAggregationTypesAvg, IBufferMessage, IMessageNamespace
Google.Cloud.Datastore.V1Assembly
Google.Cloud.Datastore.V1.dll
Constructors
Avg()
public Avg()
Avg(Avg)
public Avg(AggregationQuery.Types.Aggregation.Types.Avg other)
Parameter | |
---|---|
Name | Description |
other |
AggregationQueryTypesAggregationTypesAvg |
Properties
Property
public PropertyReference Property { get; set; }
The property to aggregate on.
Property Value | |
---|---|
Type | Description |
PropertyReference |