Class: Google::Cloud::Datastore::V1::ResultSetStats
- Inherits:
-
Object
- Object
- Google::Cloud::Datastore::V1::ResultSetStats
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/datastore/v1/query_profile.rb
Overview
Planning and execution statistics for the query.
Instance Attribute Summary collapse
-
#query_plan ⇒ ::Google::Cloud::Datastore::V1::QueryPlan
Plan for the query.
-
#query_stats ⇒ ::Google::Protobuf::Struct
Aggregated statistics from the execution of the query.
Instance Attribute Details
#query_plan ⇒ ::Google::Cloud::Datastore::V1::QueryPlan
Returns Plan for the query.
57 58 59 60 |
# File 'proto_docs/google/datastore/v1/query_profile.rb', line 57 class ResultSetStats include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#query_stats ⇒ ::Google::Protobuf::Struct
Returns 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" }.
57 58 59 60 |
# File 'proto_docs/google/datastore/v1/query_profile.rb', line 57 class ResultSetStats include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |