Class ResultSetStats (3.22.0)

ResultSetStats(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Additional statistics about a ResultSet][google.spanner.v1.ResultSet] or PartialResultSet][google.spanner.v1.PartialResultSet].

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
query_plan google.cloud.spanner_v1.types.QueryPlan
`QueryPlan][google.spanner.v1.QueryPlan]` for the query associated with this result.
query_stats google.protobuf.struct_pb2.Struct
Aggregated statistics from the execution of the query. Only present when the query is profiled. For example, a query could return the statistics as follows: :: { "rows_returned": "3", "elapsed_time": "1.22 secs", "cpu_time": "1.19 secs" }
row_count_exact int
Standard DML returns an exact count of rows that were modified. This field is a member of `oneof`_ ``row_count``.
row_count_lower_bound int
Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified. This field is a member of `oneof`_ ``row_count``.

Inheritance

builtins.object > proto.message.Message > ResultSetStats