Cloud Datastore V1 Client - Class QueryMode (1.28.2) Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Datastore V1 Client class QueryMode.
The mode in which the query request must be processed.
Protobuf typegoogle.datastore.v1.QueryMode
Namespace
Google \ Cloud \ Datastore \ V1Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value | mixed |
static::value
| Parameter | |
|---|---|
| Name | Description |
name | mixed |
Constants
NORMAL
Value: 0The default mode. Only the query results are returned.
Generated from protobuf enumNORMAL = 0;
PLAN
Value: 1This mode returns only the query plan, without any results or executionstatistics information.
Generated from protobuf enumPLAN = 1;
PROFILE
Value: 2This mode returns both the query plan and the execution statistics alongwith the results.
Generated from protobuf enumPROFILE = 2;
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-24 UTC.