google_api_spanner v0.21.4 GoogleApi.Spanner.V1.Model.ResultSetStats View Source

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.