Cloud Datastore V1 Client - Class RunAggregationQueryResponse (1.17.1)

Reference documentation and code samples for the Cloud Datastore V1 Client class RunAggregationQueryResponse.

The response for Datastore.RunAggregationQuery .

Generated from protobuf message google.datastore.v1.RunAggregationQueryResponse

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ batch
Google\Cloud\Datastore\V1\AggregationResultBatch

A batch of aggregation results. Always present.

↳ query
Google\Cloud\Datastore\V1\AggregationQuery

The parsed form of the GqlQuery from the request, if it was set.

getBatch

A batch of aggregation results. Always present.

Generated from protobuf field .google.datastore.v1.AggregationResultBatch batch = 1;

Returns
Type
Description

hasBatch

clearBatch

setBatch

A batch of aggregation results. Always present.

Generated from protobuf field .google.datastore.v1.AggregationResultBatch batch = 1;

Parameter
Name
Description
Returns
Type
Description
$this

getQuery

The parsed form of the GqlQuery from the request, if it was set.

Generated from protobuf field .google.datastore.v1.AggregationQuery query = 2;

Returns
Type
Description

hasQuery

clearQuery

setQuery

The parsed form of the GqlQuery from the request, if it was set.

Generated from protobuf field .google.datastore.v1.AggregationQuery query = 2;

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: