Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::ExecutionStats.
Execution statistics for the query.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#debug_stats
def debug_stats() -> ::Google::Protobuf::Struct
Returns
- (::Google::Protobuf::Struct) — Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
#debug_stats=
def debug_stats=(value) -> ::Google::Protobuf::Struct
Parameter
- value (::Google::Protobuf::Struct) — Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
Returns
- (::Google::Protobuf::Struct) — Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
#execution_duration
def execution_duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Total time to execute the query in the backend.
#execution_duration=
def execution_duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Total time to execute the query in the backend.
Returns
- (::Google::Protobuf::Duration) — Total time to execute the query in the backend.
#read_operations
def read_operations() -> ::Integer
Returns
- (::Integer) — Total billable read operations.
#read_operations=
def read_operations=(value) -> ::Integer
Parameter
- value (::Integer) — Total billable read operations.
Returns
- (::Integer) — Total billable read operations.
#results_returned
def results_returned() -> ::Integer
Returns
- (::Integer) — Total number of results returned, including documents, projections, aggregation results, keys.
#results_returned=
def results_returned=(value) -> ::Integer
Parameter
- value (::Integer) — Total number of results returned, including documents, projections, aggregation results, keys.
Returns
- (::Integer) — Total number of results returned, including documents, projections, aggregation results, keys.