public sealed class AggregationQuery : IMessage<AggregationQuery>, IEquatable<AggregationQuery>, IDeepCloneable<AggregationQuery>, IBufferMessage, IMessageReference 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].
Implements
IMessageAggregationQuery, IEquatableAggregationQuery, IDeepCloneableAggregationQuery, IBufferMessage, IMessageNamespace
Google.Cloud.Datastore.V1Assembly
Google.Cloud.Datastore.V1.dll
Constructors
AggregationQuery()
public AggregationQuery()AggregationQuery(AggregationQuery)
public AggregationQuery(AggregationQuery other)| Parameter | |
|---|---|
| Name | Description |
other |
AggregationQuery |
AggregationQuery(Query)
public AggregationQuery(Query query)Constructs an instance of AggregationQuery for the given Query.
| Parameter | |
|---|---|
| Name | Description |
query |
Query |
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 | |
|---|---|
| Type | Description |
RepeatedFieldAggregationQueryTypesAggregation |
|
NestedQuery
public Query NestedQuery { get; set; }Nested query for aggregation
| Property Value | |
|---|---|
| Type | Description |
Query |
|
QueryTypeCase
public AggregationQuery.QueryTypeOneofCase QueryTypeCase { get; }| Property Value | |
|---|---|
| Type | Description |
AggregationQueryQueryTypeOneofCase |
|