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
↳ mode
int
Optional. The mode in which the query request is processed. This field is optional, and when not provided, it defaults to NORMAL
mode where no additional statistics will be returned with the query results.
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
getMode
Optional. The mode in which the query request is processed. This field is
optional, and when not provided, it defaults to NORMAL
mode where no
additional statistics will be returned with the query results.
int
setMode
Optional. The mode in which the query request is processed. This field is
optional, and when not provided, it defaults to NORMAL
mode where no
additional statistics will be returned with the query results.
var
int
$this
getQueryType
string