public static class Mutation.WriteBuilder extends Object
Mutation.Op.INSERT
, Mutation.Op.INSERT_OR_UPDATE
, Mutation.Op.UPDATE
, and Mutation.Op.REPLACE
mutations.Modifier and Type | Method and Description |
---|---|
Mutation |
build()
Returns a newly created
Mutation based on the contents of the Builder . |
ValueBinder<Mutation.WriteBuilder> |
set(String columnName)
Returns a binder to set the value of
columnName that should be applied by the
mutation. |
public ValueBinder<Mutation.WriteBuilder> set(String columnName)
columnName
that should be applied by the
mutation.public Mutation build()
Mutation
based on the contents of the Builder
.IllegalStateException
- if any duplicate columns are present. Duplicate detection is
case-insensitive.Copyright © 2020 Google LLC. All rights reserved.