Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::ExplainMetrics.
Explain metrics for the query.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#execution_stats
def execution_stats() -> ::Google::Cloud::Datastore::V1::ExecutionStats
Returns
- (::Google::Cloud::Datastore::V1::ExecutionStats) — Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.
#execution_stats=
def execution_stats=(value) -> ::Google::Cloud::Datastore::V1::ExecutionStats
Parameter
- value (::Google::Cloud::Datastore::V1::ExecutionStats) — Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.
Returns
- (::Google::Cloud::Datastore::V1::ExecutionStats) — Aggregated stats from the execution of the query. Only present when ExplainOptions.analyze is set to true.
#plan_summary
def plan_summary() -> ::Google::Cloud::Datastore::V1::PlanSummary
Returns
- (::Google::Cloud::Datastore::V1::PlanSummary) — Planning phase information for the query.
#plan_summary=
def plan_summary=(value) -> ::Google::Cloud::Datastore::V1::PlanSummary
Parameter
- value (::Google::Cloud::Datastore::V1::PlanSummary) — Planning phase information for the query.
Returns
- (::Google::Cloud::Datastore::V1::PlanSummary) — Planning phase information for the query.