Reference documentation and code samples for the Cloud Datastore V1 Client class RunAggregationQueryRequest.
The request for Datastore.RunAggregationQuery .
Generated from protobuf message google.datastore.v1.RunAggregationQueryRequest
Namespace
Google \ Cloud \ Datastore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ project_id
string
Required. The ID of the project against which to make the request.
↳ database_id
string
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
↳ partition_id
Google\Cloud\Datastore\V1\PartitionId
Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
↳ read_options
↳ aggregation_query
↳ gql_query
↳ explain_options
Google\Cloud\Datastore\V1\ExplainOptions
Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
getProjectId
Required. The ID of the project against which to make the request.
string
setProjectId
Required. The ID of the project against which to make the request.
var
string
$this
getDatabaseId
The ID of the database against which to make the request.
'(default)' is not allowed; please use empty string '' to refer the default database.
string
setDatabaseId
The ID of the database against which to make the request.
'(default)' is not allowed; please use empty string '' to refer the default database.
var
string
$this
getPartitionId
Entities are partitioned into subsets, identified by a partition ID.
Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
hasPartitionId
clearPartitionId
setPartitionId
Entities are partitioned into subsets, identified by a partition ID.
Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
$this
getReadOptions
The options for this query.
hasReadOptions
clearReadOptions
setReadOptions
The options for this query.
$this
getAggregationQuery
The query to run.
hasAggregationQuery
setAggregationQuery
The query to run.
$this
getGqlQuery
The GQL query to run. This query must be an aggregation query.
hasGqlQuery
setGqlQuery
The GQL query to run. This query must be an aggregation query.
$this
getExplainOptions
Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
hasExplainOptions
clearExplainOptions
setExplainOptions
Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
$this
getQueryType
string