aggregationResults = $aggregationResults; } /** * @return AggregationResult[] */ public function getAggregationResults() { return $this->aggregationResults; } /** * 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`. * * Accepted values: MORE_RESULTS_TYPE_UNSPECIFIED, NOT_FINISHED, * MORE_RESULTS_AFTER_LIMIT, MORE_RESULTS_AFTER_CURSOR, NO_MORE_RESULTS * * @param self::MORE_RESULTS_* $moreResults */ public function setMoreResults($moreResults) { $this->moreResults = $moreResults; } /** * @return self::MORE_RESULTS_* */ public function getMoreResults() { return $this->moreResults; } /** * 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. * * @param string $readTime */ public function setReadTime($readTime) { $this->readTime = $readTime; } /** * @return string */ public function getReadTime() { return $this->readTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AggregationResultBatch::class, 'Google_Service_Datastore_AggregationResultBatch');