Class Mutation.WriteBuilder

java.lang.Object
com.google.cloud.spanner.Mutation.WriteBuilder
Enclosing class:
Mutation

public static class Mutation.WriteBuilder extends Object
  • Method Details

    • set

      public ValueBinder<Mutation.WriteBuilder> set(String columnName)
      Returns a binder to set the value of columnName that should be applied by the mutation.
    • build

      public Mutation build()
      Returns a newly created Mutation based on the contents of the Builder.
      Throws:
      IllegalStateException - if any duplicate columns are present. Duplicate detection is case-insensitive.