Google Cloud Spanner v1 API - Class ResultSetStats (4.6.0)

public sealed class ResultSetStats : IMessage<ResultSetStats>, IEquatable<ResultSetStats>, IDeepCloneable<ResultSetStats>, IBufferMessage, IMessage

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

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

HasRowCountExact

public bool HasRowCountExact { get; }

Gets whether the "row_count_exact" field is set

Property Value
TypeDescription
bool

HasRowCountLowerBound

public bool HasRowCountLowerBound { get; }

Gets whether the "row_count_lower_bound" field is set

Property Value
TypeDescription
bool

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
ResultSetStatsRowCountOneofCase

RowCountExact

public long RowCountExact { get; set; }

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

Property Value
TypeDescription
long

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
long