public sealed class ResultSetMetadata : IMessage<ResultSetMetadata>, IEquatable<ResultSetMetadata>, IDeepCloneable<ResultSetMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class ResultSetMetadata.
Metadata about a [ResultSet][google.spanner.v1.ResultSet] or
[PartialResultSet][google.spanner.v1.PartialResultSet].
Indicates the field names and types for the rows in the result
set. For example, a SQL query like "SELECT UserId, UserName FROM
Users" could return a row_type value like:
public StructType UndeclaredParameters { get; set; }
A SQL query can be parameterized. In PLAN mode, these parameters can be
undeclared. This indicates the field names and types for those undeclared
parameters in the SQL query. For example, a SQL query like "SELECT * FROM
Users where UserId = @userId and UserName = @userName " could return a
undeclared_parameters value like:
[[["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 latest version of the \u003ccode\u003eResultSetMetadata\u003c/code\u003e class for the Google Cloud Spanner v1 API is 5.0.0-beta05, and there are several previous versions also available, ranging from 5.0.0-beta04 down to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResultSetMetadata\u003c/code\u003e is a class in the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace that provides metadata about a \u003ccode\u003eResultSet\u003c/code\u003e or \u003ccode\u003ePartialResultSet\u003c/code\u003e, and it 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.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties such as \u003ccode\u003eRowType\u003c/code\u003e, which describes the field names and types for rows, \u003ccode\u003eTransaction\u003c/code\u003e, which provides information about any new transactions initiated, and \u003ccode\u003eUndeclaredParameters\u003c/code\u003e, which defines the field names and types for any undeclared parameters in SQL queries.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eResultSetMetadata\u003c/code\u003e has two constructors, one default and another which takes in another \u003ccode\u003eResultSetMetadata\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]