View Source GoogleApi.Spanner.V1.Model.ResultSetStats (google_api_spanner v0.39.0)

Additional statistics about a ResultSet or PartialResultSet.

Attributes

  • queryPlan (type: GoogleApi.Spanner.V1.Model.QueryPlan.t, default: nil) - QueryPlan for the query associated with this result.
  • queryStats (type: map(), default: nil) - 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" }
  • rowCountExact (type: String.t, default: nil) - Standard DML returns an exact count of rows that were modified.
  • rowCountLowerBound (type: String.t, default: nil) - Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Spanner.V1.Model.ResultSetStats{
  queryPlan: GoogleApi.Spanner.V1.Model.QueryPlan.t() | nil,
  queryStats: map() | nil,
  rowCountExact: String.t() | nil,
  rowCountLowerBound: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.