Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::ResultSetStats.
Planning and execution statistics for the query.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#query_plan
def query_plan() -> ::Google::Cloud::Datastore::V1::QueryPlan
- (::Google::Cloud::Datastore::V1::QueryPlan) — Plan for the query.
#query_plan=
def query_plan=(value) -> ::Google::Cloud::Datastore::V1::QueryPlan
- value (::Google::Cloud::Datastore::V1::QueryPlan) — Plan for the query.
- (::Google::Cloud::Datastore::V1::QueryPlan) — Plan for the query.
#query_stats
def query_stats() -> ::Google::Protobuf::Struct
-
(::Google::Protobuf::Struct) — 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" }
#query_stats=
def query_stats=(value) -> ::Google::Protobuf::Struct
-
value (::Google::Protobuf::Struct) — 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" }
-
(::Google::Protobuf::Struct) — 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" }