Firestore in Datastore mode V1 API - Class Google::Cloud::Datastore::V1::ResultSetStats (v0.16.0)

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
Returns

#query_plan=

def query_plan=(value) -> ::Google::Cloud::Datastore::V1::QueryPlan
Parameter
Returns

#query_stats

def query_stats() -> ::Google::Protobuf::Struct
Returns
  • (::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
Parameter
  • 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" }

Returns
  • (::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" }