Google Cloud Datastore v1 API - Class AggregationResultBatch (4.8.0)

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

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

A batch of aggregation results produced by an aggregation query.

Inheritance

object > AggregationResultBatch

Namespace

Google.Cloud.Datastore.V1

Assembly

Google.Cloud.Datastore.V1.dll

Constructors

AggregationResultBatch()

public AggregationResultBatch()

AggregationResultBatch(AggregationResultBatch)

public AggregationResultBatch(AggregationResultBatch other)
Parameter
NameDescription
otherAggregationResultBatch

Properties

AggregationResults

public RepeatedField<AggregationResult> AggregationResults { get; }

The aggregation results for this batch.

Property Value
TypeDescription
RepeatedFieldAggregationResult

MoreResults

public QueryResultBatch.Types.MoreResultsType MoreResults { get; set; }

The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to NO_MORE_RESULTS.

Property Value
TypeDescription
QueryResultBatchTypesMoreResultsType

ReadTime

public Timestamp ReadTime { get; set; }

Read timestamp this batch was returned from.

In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.

Property Value
TypeDescription
Timestamp