Reference documentation and code samples for the Cloud Firestore V1 Client class ExplainMetrics.
Explain metrics for the query.
Generated from protobuf message google.firestore.v1.ExplainMetrics
Namespace
Google \ Cloud \ Firestore \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ plan_summary |
PlanSummary
Planning phase information for the query. |
↳ execution_stats |
ExecutionStats
Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true. |
getPlanSummary
Planning phase information for the query.
Returns | |
---|---|
Type | Description |
PlanSummary|null |
hasPlanSummary
clearPlanSummary
setPlanSummary
Planning phase information for the query.
Parameter | |
---|---|
Name | Description |
var |
PlanSummary
|
Returns | |
---|---|
Type | Description |
$this |
getExecutionStats
Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.
Returns | |
---|---|
Type | Description |
ExecutionStats|null |
hasExecutionStats
clearExecutionStats
setExecutionStats
Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.
Parameter | |
---|---|
Name | Description |
var |
ExecutionStats
|
Returns | |
---|---|
Type | Description |
$this |