Google Cloud Datastore v1 API - Class AggregationQuery.Types.Aggregation.Types.Avg (4.8.0)

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, returns NaN. Infinity math follows IEEE-754 standards.

  • If the aggregated value set is empty, returns NULL.

  • Always returns the result as a double.

Inheritance

object > AggregationQuery.Types.Aggregation.Types.Avg

Namespace

Google.Cloud.Datastore.V1

Assembly

Google.Cloud.Datastore.V1.dll

Constructors

Avg()

public Avg()

Avg(Avg)

public Avg(AggregationQuery.Types.Aggregation.Types.Avg other)
Parameter
NameDescription
otherAggregationQueryTypesAggregationTypesAvg

Properties

Property

public PropertyReference Property { get; set; }

The property to aggregate on.

Property Value
TypeDescription
PropertyReference