Class AggregationQueryExecutor (2.18.5)

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
NameDescription
datastoreRpcDatastoreRpc
datastoreOptionsDatastoreOptions

Methods

execute(AggregationQuery query, ReadOption[] readOptions)

public AggregationResults execute(AggregationQuery query, ReadOption[] readOptions)
Parameters
NameDescription
queryAggregationQuery
readOptionsReadOption[]
Returns
TypeDescription
AggregationResults