Class: Google::Cloud::Spanner::V1::ResultSetStats
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::V1::ResultSetStats
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/spanner/v1/result_set.rb
Overview
Additional statistics about a ResultSet or PartialResultSet.
Instance Attribute Summary collapse
-
#query_plan ⇒ ::Google::Cloud::Spanner::V1::QueryPlan
QueryPlan for the query associated with this result.
-
#query_stats ⇒ ::Google::Protobuf::Struct
Aggregated statistics from the execution of the query.
-
#row_count_exact ⇒ ::Integer
Standard DML returns an exact count of rows that were modified.
-
#row_count_lower_bound ⇒ ::Integer
Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
Instance Attribute Details
#query_plan ⇒ ::Google::Cloud::Spanner::V1::QueryPlan
Returns QueryPlan for the query associated with this result.
231 232 233 234 |
# File 'proto_docs/google/spanner/v1/result_set.rb', line 231 class ResultSetStats include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#query_stats ⇒ ::Google::Protobuf::Struct
Returns 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"
}.
231 232 233 234 |
# File 'proto_docs/google/spanner/v1/result_set.rb', line 231 class ResultSetStats include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#row_count_exact ⇒ ::Integer
Returns Standard DML returns an exact count of rows that were modified.
231 232 233 234 |
# File 'proto_docs/google/spanner/v1/result_set.rb', line 231 class ResultSetStats include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#row_count_lower_bound ⇒ ::Integer
Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
231 232 233 234 |
# File 'proto_docs/google/spanner/v1/result_set.rb', line 231 class ResultSetStats include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |