Google.Cloud.Spanner.Data - Class SpannerBatchWriteCommand.BatchWriteResult (5.13.0-beta03)

public sealed class SpannerBatchWriteCommand.BatchWriteResult

Reference documentation and code samples for the Google.Cloud.Spanner.Data class SpannerBatchWriteCommand.BatchWriteResult.

Represents the result of a single command group in a BatchWrite operation.

Inheritance

object > SpannerBatchWriteCommand.BatchWriteResult

Namespace

Google.Cloud.Spanner.Data

Assembly

Google.Cloud.Spanner.Data.dll

Properties

CommitTimestamp

public DateTime? CommitTimestamp { get; }

The commit timestamp of the transaction that applied this batch. Present if status is OK and the mutation groups were applied, absent otherwise.

For mutation groups with conditions, a status=OK and missing commit_timestamp means that the mutation groups were not applied due to the condition not being satisfied after evaluation.

Property Value
Type Description
DateTime

Indexes

public IEnumerable<int> Indexes { get; }

The mutation groups applied in this batch. The values index into the mutation_groups field in the corresponding BatchWriteRequest.

Property Value
Type Description
IEnumerableint

Status

public Status Status { get; }

An OK status indicates success. Any other status indicates a failure.

Property Value
Type Description
Status