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].
Implements
Google.Protobuf.IMessage<ResultSetStats>, IEquatable<ResultSetStats>, Google.Protobuf.IDeepCloneable<ResultSetStats>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Spanner.V1Assembly
Google.Cloud.Spanner.V1.dll
Constructors
ResultSetStats()
public ResultSetStats()
ResultSetStats(ResultSetStats)
public ResultSetStats(ResultSetStats other)
Parameter | |
---|---|
Name | Description |
other | ResultSetStats |
Properties
QueryPlan
public QueryPlan QueryPlan { get; set; }
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Google.Protobuf.WellKnownTypes.Struct |
RowCountCase
public ResultSetStats.RowCountOneofCase RowCountCase { get; }
Property Value | |
---|---|
Type | Description |
ResultSetStats.RowCountOneofCase |
RowCountExact
public long RowCountExact { get; set; }
Standard DML returns an exact count of rows that were modified.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Int64 |