Class AggregationQueryExecutor (2.24.3)

public class AggregationQueryExecutor implements QueryExecutor<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)

public AggregationQueryExecutor(DatastoreRpc datastoreRpc, DatastoreOptions datastoreOptions)
Parameters
Name Description
datastoreRpc DatastoreRpc
datastoreOptions DatastoreOptions

Methods

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

public AggregationResults execute(AggregationQuery query, ExplainOptions explainOptions, ReadOption[] readOptions)
Parameters
Name Description
query AggregationQuery
explainOptions ExplainOptions
readOptions ReadOption[]
Returns
Type Description
AggregationResults