Class: Google::Spanner::V1::ResultSetStats

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/spanner/v1/doc/google/spanner/v1/result_set.rb

Overview

Additional statistics about a ResultSet or PartialResultSet.

Instance Attribute Summary collapse

Instance Attribute Details

#query_planGoogle::Spanner::V1::QueryPlan

Returns QueryPlan for the query associated with this result.

Returns:



187
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/result_set.rb', line 187

class ResultSetStats; end

#query_statsGoogle::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"
}.

Returns:

  • (Google::Protobuf::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"
    }
    


187
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/result_set.rb', line 187

class ResultSetStats; end

#row_count_exactInteger

Returns Standard DML returns an exact count of rows that were modified.

Returns:

  • (Integer)

    Standard DML returns an exact count of rows that were modified.



187
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/result_set.rb', line 187

class ResultSetStats; end

#row_count_lower_boundInteger

Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.

Returns:

  • (Integer)

    Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.



187
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/result_set.rb', line 187

class ResultSetStats; end