Reference documentation and code samples for the Cloud Datastore V1 Client class ExecutionStats.
Execution statistics for the query.
Generated from protobuf message google.datastore.v1.ExecutionStats
Namespace
Google \ Cloud \ Datastore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ results_returned
int|string
Total number of results returned, including documents, projections, aggregation results, keys.
↳ execution_duration
↳ read_operations
int|string
Total billable read operations.
↳ debug_stats
Google\Protobuf\Struct
Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
getResultsReturned
Total number of results returned, including documents, projections, aggregation results, keys.
int|string
setResultsReturned
Total number of results returned, including documents, projections, aggregation results, keys.
var
int|string
$this
getExecutionDuration
Total time to execute the query in the backend.
hasExecutionDuration
clearExecutionDuration
setExecutionDuration
Total time to execute the query in the backend.
$this
getReadOperations
Total billable read operations.
int|string
setReadOperations
Total billable read operations.
var
int|string
$this
getDebugStats
Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
hasDebugStats
clearDebugStats
setDebugStats
Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
$this