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 API is 5.0.0-beta05, with version 4.6.0 being a stable release, and many prior versions all the way back to 3.5.0 also available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResultSetMetadata\u003c/code\u003e is a class in the Google Cloud Spanner v1 API, providing metadata about a \u003ccode\u003eResultSet\u003c/code\u003e or \u003ccode\u003ePartialResultSet\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, including several inherited members such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResultSetMetadata\u003c/code\u003e has three main properties, \u003ccode\u003eRowType\u003c/code\u003e, \u003ccode\u003eTransaction\u003c/code\u003e, and \u003ccode\u003eUndeclaredParameters\u003c/code\u003e, that provide information on field names and types, transaction details, and undeclared parameters within a query, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, one with no parameters, and one which takes in another \u003ccode\u003eResultSetMetadata\u003c/code\u003e object, labeled as \u003ccode\u003eother\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]