Class SpannerWriteResult

java.lang.Object
org.apache.beam.sdk.io.gcp.spanner.SpannerWriteResult
All Implemented Interfaces:
POutput

public class SpannerWriteResult extends Object implements POutput
The results of a SpannerIO.write() transform.

Use getFailedMutations() to access a PCollection of MutationGroups that failed to write.

The PCollection returned by getOutput() can be used in batch pipelines as a completion signal to Wait.OnSignal to indicate when all input has been written. Note that in streaming pipelines, this signal will never be triggered as the input is unbounded and this PCollection is using the GlobalWindow.