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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe provided content is a reference document for the \u003ccode\u003eResultSetStats\u003c/code\u003e class within the Google Cloud Spanner v1 API for .NET, outlining its properties, inheritance, and implementations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eResultSetStats\u003c/code\u003e class is \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, with a list of previous versions available for reference, starting from \u003ccode\u003e3.5.0\u003c/code\u003e and up to the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResultSetStats\u003c/code\u003e provides additional statistics for a \u003ccode\u003eResultSet\u003c/code\u003e or \u003ccode\u003ePartialResultSet\u003c/code\u003e, with properties like \u003ccode\u003eQueryPlan\u003c/code\u003e and \u003ccode\u003eQueryStats\u003c/code\u003e to display the query's performance and execution details.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and it inherits methods from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for \u003ccode\u003eResultSetStats\u003c/code\u003e, one with no parameters, and one that takes in a \u003ccode\u003eResultSetStats\u003c/code\u003e object as a parameter, and it has two \u003ccode\u003elong\u003c/code\u003e properties: \u003ccode\u003eRowCountExact\u003c/code\u003e and \u003ccode\u003eRowCountLowerBound\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Spanner v1 API - Class ResultSetStats (5.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.ResultSetStats)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/5.0.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.6.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.5.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.4.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.3.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.2.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.1.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.0.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [3.15.1](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.15.1/Google.Cloud.Spanner.V1.ResultSetStats)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.14.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.13.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.12.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.11.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.10.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.9.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.8.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.7.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.6.0/Google.Cloud.Spanner.V1.ResultSetStats)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.5.0/Google.Cloud.Spanner.V1.ResultSetStats) \n\n public sealed class ResultSetStats : IMessage\u003cResultSetStats\u003e, IEquatable\u003cResultSetStats\u003e, IDeepCloneable\u003cResultSetStats\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Spanner v1 API class ResultSetStats.\n\nAdditional statistics about a \\[ResultSet\\]\\[google.spanner.v1.ResultSet\\] or\n\\[PartialResultSet\\]\\[google.spanner.v1.PartialResultSet\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ResultSetStats \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ResultSetStats](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.ResultSetStats), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ResultSetStats](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.ResultSetStats), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ResultSetStats](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.ResultSetStats), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Spanner.V1](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Spanner.V1.dll\n\nConstructors\n------------\n\n### ResultSetStats()\n\n public ResultSetStats()\n\n### ResultSetStats(ResultSetStats)\n\n public ResultSetStats(ResultSetStats other)\n\nProperties\n----------\n\n### HasRowCountExact\n\n public bool HasRowCountExact { get; }\n\nGets whether the \"row_count_exact\" field is set\n\n### HasRowCountLowerBound\n\n public bool HasRowCountLowerBound { get; }\n\nGets whether the \"row_count_lower_bound\" field is set\n\n### QueryPlan\n\n public QueryPlan QueryPlan { get; set; }\n\n\\[QueryPlan\\]\\[google.spanner.v1.QueryPlan\\] for the query associated with this\nresult.\n\n### QueryStats\n\n public Struct QueryStats { get; set; }\n\nAggregated statistics from the execution of the query. Only present when\nthe query is profiled. For example, a query could return the statistics as\nfollows: \n\n {\n \"rows_returned\": \"3\",\n \"elapsed_time\": \"1.22 secs\",\n \"cpu_time\": \"1.19 secs\"\n }\n\n### RowCountCase\n\n public ResultSetStats.RowCountOneofCase RowCountCase { get; }\n\n### RowCountExact\n\n public long RowCountExact { get; set; }\n\nStandard DML returns an exact count of rows that were modified.\n\n### RowCountLowerBound\n\n public long RowCountLowerBound { get; set; }\n\nPartitioned DML doesn't offer exactly-once semantics, so it\nreturns a lower bound of the rows modified."]]