class Google::Apis::SpannerV1::ResultSetStats

Additional statistics about a ResultSet or PartialResultSet.

Attributes

query_plan[RW]

Contains an ordered list of nodes appearing in the query plan. Corresponds to the JSON property `queryPlan` @return [Google::Apis::SpannerV1::QueryPlan]

query_stats[RW]

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” ` Corresponds to the JSON property `queryStats` @return [Hash<String,Object>]

row_count_exact[RW]

Standard DML returns an exact count of rows that were modified. Corresponds to the JSON property `rowCountExact` @return [Fixnum]

row_count_lower_bound[RW]

Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified. Corresponds to the JSON property `rowCountLowerBound` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 3609
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/spanner_v1/classes.rb, line 3614
def update!(**args)
  @query_plan = args[:query_plan] if args.key?(:query_plan)
  @query_stats = args[:query_stats] if args.key?(:query_stats)
  @row_count_exact = args[:row_count_exact] if args.key?(:row_count_exact)
  @row_count_lower_bound = args[:row_count_lower_bound] if args.key?(:row_count_lower_bound)
end