Reference documentation and code samples for the Cloud Spanner API class Google::Cloud::Spanner::BatchWriteResults.
Results of a batch write.
This is a stream of BatchResult objects, each of which represents a set of mutation groups applied together.
Use the Ruby Enumerable module to iterate over the results.
Inherits
- Object
Includes
- Enumerable
Methods
#each
def each()Iterate over the results.
#error?
def error?() -> ::BooleanWhether at least one mutation group encountered an error.
- (::Boolean)
#ok?
def ok?() -> ::BooleanWhether all mutation groups were successful.
- (::Boolean)
#successful_indexes
def successful_indexes() -> ::Array<::Integer>A list of the indexes of successful mutation groups.
- (::Array<::Integer>)