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

PrecommitToken

Optional. A precommit token is included if the read-write transaction is on a multiplexed session. Pass the precommit token with the highest sequence number from this transaction attempt to the Commit request for this transaction.

Declaration
[JsonProperty("precommitToken")]
public virtual MultiplexedSessionPrecommitToken PrecommitToken { get; set; }
Property Value
Type Description
MultiplexedSessionPrecommitToken

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 might or might 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