Reference documentation and code samples for the Cloud Datastore V1 Client class ResultSetStats.
Planning and execution statistics for the query.
Generated from protobuf message google.datastore.v1.ResultSetStats
Namespace
Google \ Cloud \ Datastore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ query_plan
↳ query_stats
Google\Protobuf\Struct
Aggregated statistics from the execution of the query. This will only be present when the request specifies PROFILE
mode. For example, a query will return the statistics including: { "results_returned": "20", "documents_scanned": "20", "indexes_entries_scanned": "10050", "total_execution_time": "100.7 msecs" }
getQueryPlan
Plan for the query.
hasQueryPlan
clearQueryPlan
setQueryPlan
Plan for the query.
$this
getQueryStats
Aggregated statistics from the execution of the query.
This will only be present when the request specifies PROFILE
mode.
For example, a query will return the statistics including:
{
"results_returned": "20",
"documents_scanned": "20",
"indexes_entries_scanned": "10050",
"total_execution_time": "100.7 msecs"
}
hasQueryStats
clearQueryStats
setQueryStats
Aggregated statistics from the execution of the query.
This will only be present when the request specifies PROFILE
mode.
For example, a query will return the statistics including:
{
"results_returned": "20",
"documents_scanned": "20",
"indexes_entries_scanned": "10050",
"total_execution_time": "100.7 msecs"
}
$this