Class AggregationQueryExecutor (2.31.4)
Stay organized with collections
Save and categorize content based on your preferences.
public class AggregationQueryExecutor implements QueryExecutor<AggregationQuery,AggregationResults>
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)
Methods
execute(AggregationQuery query, ExplainOptions explainOptions, ReadOption[] readOptions)
public AggregationResults execute(AggregationQuery query, ExplainOptions explainOptions, ReadOption[] readOptions)
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-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Class AggregationQueryExecutor (2.31.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.31.2 (latest)](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.31.1](/java/docs/reference/google-cloud-datastore/2.31.1/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.30.0](/java/docs/reference/google-cloud-datastore/2.30.0/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.29.1](/java/docs/reference/google-cloud-datastore/2.29.1/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.28.2](/java/docs/reference/google-cloud-datastore/2.28.2/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.27.1](/java/docs/reference/google-cloud-datastore/2.27.1/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.26.4](/java/docs/reference/google-cloud-datastore/2.26.4/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.25.2](/java/docs/reference/google-cloud-datastore/2.25.2/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.24.3](/java/docs/reference/google-cloud-datastore/2.24.3/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.23.0](/java/docs/reference/google-cloud-datastore/2.23.0/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.22.0](/java/docs/reference/google-cloud-datastore/2.22.0/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.21.3](/java/docs/reference/google-cloud-datastore/2.21.3/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.20.2](/java/docs/reference/google-cloud-datastore/2.20.2/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.19.2](/java/docs/reference/google-cloud-datastore/2.19.2/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.18.5](/java/docs/reference/google-cloud-datastore/2.18.5/com.google.cloud.datastore.execution.AggregationQueryExecutor)\n- [2.17.6](/java/docs/reference/google-cloud-datastore/2.17.6/com.google.cloud.datastore.execution.AggregationQueryExecutor) \n\n public class AggregationQueryExecutor implements QueryExecutor\u003cAggregationQuery,AggregationResults\u003e\n\nAn implementation of [QueryExecutor](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.execution.QueryExecutor) which executes [AggregationQuery](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.AggregationQuery) and returns\n[AggregationResults](/java/docs/reference/google-cloud-datastore/latest/com.google.cloud.datastore.AggregationResults). \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e AggregationQueryExecutor \n\nImplements\n----------\n\ncom.google.cloud.datastore.execution.QueryExecutor\\\u003ccom.google.cloud.datastore.AggregationQuery,com.google.cloud.datastore.AggregationResults\\\u003e \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nConstructors\n------------\n\n### AggregationQueryExecutor(DatastoreRpc datastoreRpc, DatastoreOptions datastoreOptions)\n\n public AggregationQueryExecutor(DatastoreRpc datastoreRpc, DatastoreOptions datastoreOptions)\n\nMethods\n-------\n\n### execute(AggregationQuery query, ExplainOptions explainOptions, ReadOption\\[\\] readOptions)\n\n public AggregationResults execute(AggregationQuery query, ExplainOptions explainOptions, ReadOption[] readOptions)"]]