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 Summary
Modifier and TypeMethodDescriptionAssociate all entries of the specifiedmap
with the map atColumnName
.Append thevalue
to the collection.Append allvalues
to the collection.Append allvalues
to the collection.Associate the specifiedvalue
with the specifiedkey
in the map.Prepend thevalue
to the collection.prependAll
(Iterable<? extends Object> values) Prepend allvalues
to the collection.prependAll
(Object... values) Prepend allvalues
to the collection.
-
Method Details
-
prepend
Prepend thevalue
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
Prepend allvalues
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
Prepend allvalues
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
Append thevalue
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
Append allvalues
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
Append allvalues
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
Associate the specifiedvalue
with the specifiedkey
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
Associate all entries of the specifiedmap
with the map atColumnName
.- Parameters:
map
- must not be null.- Returns:
- a new
Update
object containing the merge result of the existing assignments and the current assignment.
-