Google Cloud Datastore v1 API - Class AggregationQuery (4.9.0)

public sealed class AggregationQuery : IMessage<AggregationQuery>, IEquatable<AggregationQuery>, IDeepCloneable<AggregationQuery>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Datastore v1 API class AggregationQuery.

Datastore query for running an aggregation over a [Query][google.datastore.v1.Query].

Inheritance

object > AggregationQuery

Namespace

Google.Cloud.Datastore.V1

Assembly

Google.Cloud.Datastore.V1.dll

Constructors

AggregationQuery()

public AggregationQuery()

AggregationQuery(AggregationQuery)

public AggregationQuery(AggregationQuery other)
Parameter
NameDescription
otherAggregationQuery

AggregationQuery(Query)

public AggregationQuery(Query query)

Constructs an instance of AggregationQuery for the given Query.

Parameter
NameDescription
queryQuery

Properties

Aggregations

public RepeatedField<AggregationQuery.Types.Aggregation> Aggregations { get; }

Optional. Series of aggregations to apply over the results of the nested_query.

Requires:

  • A minimum of one and maximum of five aggregations per query.
Property Value
TypeDescription
RepeatedFieldAggregationQueryTypesAggregation

NestedQuery

public Query NestedQuery { get; set; }

Nested query for aggregation

Property Value
TypeDescription
Query

QueryTypeCase

public AggregationQuery.QueryTypeOneofCase QueryTypeCase { get; }
Property Value
TypeDescription
AggregationQueryQueryTypeOneofCase