/** * Returns a binder to set the value of {@code columnName} that should be applied by the * mutation. */ public ValueBinder<WriteBuilder> set(String columnName) { checkBindingInProgress(false); currentColumn = checkNotNull(columnName); return binder; }
/** * Returns a newly created {@code Mutation} based on the contents of the {@code Builder}. * * @throws IllegalStateException if any duplicate columns are present. Duplicate detection is * case-insensitive. */ public Mutation build() { checkBindingInProgress(false); ImmutableList<String> columnNames = columns.build(); checkDuplicateColumns(columnNames); return new Mutation(table, operation, columnNames, values.build(), null); }
/** * Returns a binder to set the value of {@code columnName} that should be applied by the * mutation. */ public ValueBinder<WriteBuilder> set(String columnName) { checkBindingInProgress(false); currentColumn = checkNotNull(columnName); return binder; }
/** * Returns a newly created {@code Mutation} based on the contents of the {@code Builder}. * * @throws IllegalStateException if any duplicate columns are present. Duplicate detection is * case-insensitive. */ public Mutation build() { checkBindingInProgress(false); ImmutableList<String> columnNames = columns.build(); checkDuplicateColumns(columnNames); return new Mutation(table, operation, columnNames, values.build(), null); }