Interface Update.AddToBuilder

Enclosing class:
Update

public static interface Update.AddToBuilder
Builder to add a single element/multiple elements to a collection associated with a ColumnName.
Author:
Mark Paluch
  • Method Details

    • prepend

      Update prepend(Object value)
      Prepend the value to the collection.
      Parameters:
      value - must not be null.
      Returns:
      a new Update object containing the merge result of the existing assignments and the current assignment.
    • prependAll

      Update prependAll(Object... values)
      Prepend all values to the collection.
      Parameters:
      values - must not be null.
      Returns:
      a new Update object containing the merge result of the existing assignments and the current assignment.
    • prependAll

      Update prependAll(Iterable<? extends Object> values)
      Prepend all values to the collection.
      Parameters:
      values - must not be null.
      Returns:
      a new Update object containing the merge result of the existing assignments and the current assignment.
    • append

      Update append(Object value)
      Append the value to the collection.
      Parameters:
      value - must not be null.
      Returns:
      a new Update object containing the merge result of the existing assignments and the current assignment.
    • appendAll

      Update appendAll(Object... values)
      Append all values to the collection.
      Parameters:
      values - must not be null.
      Returns:
      a new Update object containing the merge result of the existing assignments and the current assignment.
    • appendAll

      Update appendAll(Iterable<? extends Object> values)
      Append all values to the collection.
      Parameters:
      values - must not be null.
      Returns:
      a new Update object containing the merge result of the existing assignments and the current assignment.
    • entry

      Update entry(Object key, Object value)
      Associate the specified value with the specified key in the map.
      Parameters:
      key - must not be null.
      value - must not be null.
      Returns:
      a new Update object containing the merge result of the existing assignments and the current assignment.
    • addAll

      Update addAll(Map<? extends Object,? extends Object> map)
      Associate all entries of the specified map with the map at ColumnName.
      Parameters:
      map - must not be null.
      Returns:
      a new Update object containing the merge result of the existing assignments and the current assignment.