The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited toNO_MORE_RESULTS.
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.
Only COUNT(*) aggregations are supported in the initial launch. Therefore,
expected result type is limited toNO_MORE_RESULTS.
Returns
Type
Description
int
setMoreResults
The state of the query after the current batch.
Only COUNT(*) aggregations are supported in the initial launch. Therefore,
expected result type is limited toNO_MORE_RESULTS.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getReadTime
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Datastore V1 Client - Class AggregationResultBatch (1.33.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.33.1 (latest)](/php/docs/reference/cloud-datastore/latest/V1.AggregationResultBatch)\n- [1.33.0](/php/docs/reference/cloud-datastore/1.33.0/V1.AggregationResultBatch)\n- [1.32.3](/php/docs/reference/cloud-datastore/1.32.3/V1.AggregationResultBatch)\n- [1.31.0](/php/docs/reference/cloud-datastore/1.31.0/V1.AggregationResultBatch)\n- [1.30.0](/php/docs/reference/cloud-datastore/1.30.0/V1.AggregationResultBatch)\n- [1.29.2](/php/docs/reference/cloud-datastore/1.29.2/V1.AggregationResultBatch)\n- [1.28.2](/php/docs/reference/cloud-datastore/1.28.2/V1.AggregationResultBatch)\n- [1.26.0](/php/docs/reference/cloud-datastore/1.26.0/V1.AggregationResultBatch)\n- [1.25.0](/php/docs/reference/cloud-datastore/1.25.0/V1.AggregationResultBatch)\n- [1.24.4](/php/docs/reference/cloud-datastore/1.24.4/V1.AggregationResultBatch)\n- [1.23.0](/php/docs/reference/cloud-datastore/1.23.0/V1.AggregationResultBatch)\n- [1.22.1](/php/docs/reference/cloud-datastore/1.22.1/V1.AggregationResultBatch)\n- [1.21.2](/php/docs/reference/cloud-datastore/1.21.2/V1.AggregationResultBatch)\n- [1.19.0](/php/docs/reference/cloud-datastore/1.19.0/V1.AggregationResultBatch)\n- [1.18.1](/php/docs/reference/cloud-datastore/1.18.1/V1.AggregationResultBatch)\n- [1.17.1](/php/docs/reference/cloud-datastore/1.17.1/V1.AggregationResultBatch) \nReference documentation and code samples for the Cloud Datastore V1 Client class AggregationResultBatch.\n\nA batch of aggregation results produced by an aggregation query.\n\nGenerated from protobuf message `google.datastore.v1.AggregationResultBatch`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Datastore \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAggregationResults\n\nThe aggregation results for this batch.\n\n### setAggregationResults\n\nThe aggregation results for this batch.\n\n### getMoreResults\n\nThe state of the query after the current batch.\n\nOnly COUNT(\\*) aggregations are supported in the initial launch. Therefore,\nexpected result type is limited to `NO_MORE_RESULTS`.\n\n### setMoreResults\n\nThe state of the query after the current batch.\n\nOnly COUNT(\\*) aggregations are supported in the initial launch. Therefore,\nexpected result type is limited to `NO_MORE_RESULTS`.\n\n### getReadTime\n\nRead timestamp this batch was returned from.\n\nIn a single transaction, subsequent query result batches for the same query\ncan have a greater timestamp. Each batch's read timestamp\nis valid for all preceding batches.\n\n### hasReadTime\n\n### clearReadTime\n\n### setReadTime\n\nRead timestamp this batch was returned from.\n\nIn a single transaction, subsequent query result batches for the same query\ncan have a greater timestamp. Each batch's read timestamp\nis valid for all preceding batches."]]