Cloud Datastore V1 Client - Class ExplainMetrics (1.33.0)

Reference documentation and code samples for the Cloud Datastore V1 Client class ExplainMetrics.

Explain metrics for the query.

Generated from protobuf message google.datastore.v1.ExplainMetrics

Namespace

Google \ Cloud \ Datastore \ V1

Methods

__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
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

hasExecutionStats

clearExecutionStats

setExecutionStats

Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: