Show / Hide Table of Contents

Class ResultSet

Results from Read or ExecuteSql.

Inheritance
System.Object
ResultSet
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class ResultSet : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Metadata

Metadata about the result set, such as row type information.

Declaration
[JsonProperty("metadata")]
public virtual ResultSetMetadata Metadata { get; set; }
Property Value
Type Description
ResultSetMetadata

Rows

Each element in rows is a row whose format is defined by metadata.row_type. The ith element in each row matches the ith field in metadata.row_type. Elements are encoded based on type as described here.

Declaration
[JsonProperty("rows")]
public virtual IList<IList<object>> Rows { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Collections.Generic.IList<System.Object>>

Stats

Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting ExecuteSqlRequest.query_mode. DML statements always produce stats containing the number of rows modified, unless executed using the ExecuteSqlRequest.QueryMode.PLAN ExecuteSqlRequest.query_mode. Other fields may or may not be populated, based on the ExecuteSqlRequest.query_mode.

Declaration
[JsonProperty("stats")]
public virtual ResultSetStats Stats { get; set; }
Property Value
Type Description
ResultSetStats

Implements

IDirectResponseSchema
In This Article
Back to top