Send feedback
Class ResultSetStats (3.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.8.0 keyboard_arrow_down
ResultSetStats(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Additional statistics about a
ResultSet][google.spanner.v1.ResultSet]
or
PartialResultSet][google.spanner.v1.PartialResultSet]
.
Attributes Name Description 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.
row_count_lower_bound
int
Partitioned DML does not offer exactly-once
semantics, so it returns a lower bound of the
rows modified.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-15 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?