public sealed class ResultSetStats : IMessage<ResultSetStats>, IEquatable<ResultSetStats>, IDeepCloneable<ResultSetStats>, IBufferMessage, IMessageReference 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].
Implements
IMessageResultSetStats, IEquatableResultSetStats, IDeepCloneableResultSetStats, IBufferMessage, 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
HasRowCountExact
public bool HasRowCountExact { get; }Gets whether the "row_count_exact" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasRowCountLowerBound
public bool HasRowCountLowerBound { get; }Gets whether the "row_count_lower_bound" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
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 |
Struct |
|
RowCountCase
public ResultSetStats.RowCountOneofCase RowCountCase { get; }| Property Value | |
|---|---|
| Type | Description |
ResultSetStatsRowCountOneofCase |
|
RowCountExact
public long RowCountExact { get; set; }Standard DML returns an exact count of rows that were modified.
| Property Value | |
|---|---|
| Type | Description |
long |
|
RowCountLowerBound
public long RowCountLowerBound { get; set; }Partitioned DML doesn't offer exactly-once semantics, so it returns a lower bound of the rows modified.
| Property Value | |
|---|---|
| Type | Description |
long |
|