Class AggregationQueryExecutor (2.24.3)

publicclass AggregationQueryExecutorimplementsQueryExecutor<AggregationQuery,AggregationResults>

An implementation of QueryExecutor which executes AggregationQuery and returns AggregationResults.

Inheritance

java.lang.Object > AggregationQueryExecutor

Implements

com.google.cloud.datastore.execution.QueryExecutor<com.google.cloud.datastore.AggregationQuery,com.google.cloud.datastore.AggregationResults>

Constructors

AggregationQueryExecutor(DatastoreRpc datastoreRpc, DatastoreOptions datastoreOptions)

publicAggregationQueryExecutor(DatastoreRpcdatastoreRpc,DatastoreOptionsdatastoreOptions)
Parameters
Name Description
datastoreRpc DatastoreRpc
datastoreOptions DatastoreOptions

Methods

execute(AggregationQuery query, ExplainOptions explainOptions, ReadOption[] readOptions)

publicAggregationResultsexecute(AggregationQueryquery,ExplainOptionsexplainOptions,ReadOption[]readOptions)
Parameters
Name Description
query AggregationQuery
explainOptions ExplainOptions
readOptions ReadOption[]
Returns
Type Description
AggregationResults

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.