Class ResultSetStats (4.0.0)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class ResultSetStats : IMessage<ResultSetStats>, IEquatable<ResultSetStats>, IDeepCloneable<ResultSetStats>, IBufferMessage, IMessage

Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].

Inheritance

Object > ResultSetStats

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Constructors

ResultSetStats()

public ResultSetStats()

ResultSetStats(ResultSetStats)

public ResultSetStats(ResultSetStats other)
Parameter
NameDescription
otherResultSetStats

Properties

QueryPlan

public QueryPlan QueryPlan { get; set; }

[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.

Property Value
TypeDescription
QueryPlan

QueryStats

public Struct QueryStats { get; set; }

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" }

Property Value
TypeDescription
Struct

RowCountCase

public ResultSetStats.RowCountOneofCase RowCountCase { get; }
Property Value
TypeDescription
ResultSetStats.RowCountOneofCase

RowCountExact

public long RowCountExact { get; set; }

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

Property Value
TypeDescription
Int64

RowCountLowerBound

public long RowCountLowerBound { get; set; }

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

Property Value
TypeDescription
Int64