Cloud Spanner V1 API - Class Google::Cloud::Spanner::V1::ResultSetStats (v0.8.1)

Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::ResultSetStats.

Additional statistics about a ResultSet or PartialResultSet.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#query_plan

def query_plan() -> ::Google::Cloud::Spanner::V1::QueryPlan
Returns

#query_plan=

def query_plan=(value) -> ::Google::Cloud::Spanner::V1::QueryPlan
Parameter
Returns

#query_stats

def query_stats() -> ::Google::Protobuf::Struct
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"
    }
    

#query_stats=

def query_stats=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::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"
    }
    
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"
    }
    

#row_count_exact

def row_count_exact() -> ::Integer
Returns
  • (::Integer) — Standard DML returns an exact count of rows that were modified.

#row_count_exact=

def row_count_exact=(value) -> ::Integer
Parameter
  • value (::Integer) — Standard DML returns an exact count of rows that were modified.
Returns
  • (::Integer) — Standard DML returns an exact count of rows that were modified.

#row_count_lower_bound

def row_count_lower_bound() -> ::Integer
Returns
  • (::Integer) — Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.

#row_count_lower_bound=

def row_count_lower_bound=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.