Class ResultSet
Results from Read or ExecuteSql.
Implements
Inherited Members
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 will be included if the read-write transaction is on a multiplexed session. The precommit token with the highest sequence number from this transaction attempt should be passed 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 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 |