Class ResultSetMetadata
Metadata about a ResultSet or PartialResultSet.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class ResultSetMetadata : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
RowType
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: "fields": [ { "name": "UserId", "type":
{ "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
Declaration
[JsonProperty("rowType")]
public virtual StructType RowType { get; set; }
Property Value
Type | Description |
---|---|
StructType |
Transaction
If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
Declaration
[JsonProperty("transaction")]
public virtual Transaction Transaction { get; set; }
Property Value
Type | Description |
---|---|
Transaction |
UndeclaredParameters
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: "fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code":
"STRING" } }, ]
Declaration
[JsonProperty("undeclaredParameters")]
public virtual StructType UndeclaredParameters { get; set; }
Property Value
Type | Description |
---|---|
StructType |