Show / Hide Table of Contents

Class ResultSet

Results from Read or ExecuteSql.

Inheritance
object
ResultSet
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
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
IList<IList<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 Generated by DocFX