Package com.google.cloud.spanner
Class Mutation.WriteBuilder
java.lang.Object
com.google.cloud.spanner.Mutation.WriteBuilder
- Enclosing class:
- Mutation
Builder for
Mutation.Op.INSERT, Mutation.Op.INSERT_OR_UPDATE, Mutation.Op.UPDATE, and Mutation.Op.REPLACE mutations.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns a newly createdMutationbased on the contents of theBuilder.Returns a binder to set the value ofcolumnNamethat should be applied by the mutation.
-
Method Details
-
set
Returns a binder to set the value ofcolumnNamethat should be applied by the mutation. -
build
Returns a newly createdMutationbased on the contents of theBuilder.- Throws:
IllegalStateException- if any duplicate columns are present. Duplicate detection is case-insensitive.
-