Module spring.data.cassandra
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 specifiedmapwith the map atColumnName.Append thevalueto the collection.Append allvaluesto the collection.Append allvaluesto the collection.Associate the specifiedvaluewith the specifiedkeyin the map.Prepend thevalueto the collection.prependAll(Iterable<? extends Object> values) Prepend allvaluesto the collection.prependAll(Object... values) Prepend allvaluesto the collection.
-
Method Details
-
prepend
Prepend thevalueto the collection.- Parameters:
value- must not be null.- Returns:
- a new
Updateobject containing the merge result of the existing assignments and the current assignment.
-
prependAll
Prepend allvaluesto the collection.- Parameters:
values- must not be null.- Returns:
- a new
Updateobject containing the merge result of the existing assignments and the current assignment.
-
prependAll
Prepend allvaluesto the collection.- Parameters:
values- must not be null.- Returns:
- a new
Updateobject containing the merge result of the existing assignments and the current assignment.
-
append
Append thevalueto the collection.- Parameters:
value- must not be null.- Returns:
- a new
Updateobject containing the merge result of the existing assignments and the current assignment.
-
appendAll
Append allvaluesto the collection.- Parameters:
values- must not be null.- Returns:
- a new
Updateobject containing the merge result of the existing assignments and the current assignment.
-
appendAll
Append allvaluesto the collection.- Parameters:
values- must not be null.- Returns:
- a new
Updateobject containing the merge result of the existing assignments and the current assignment.
-
entry
Associate the specifiedvaluewith the specifiedkeyin the map.- Parameters:
key- must not be null.value- must not be null.- Returns:
- a new
Updateobject containing the merge result of the existing assignments and the current assignment.
-
addAll
Associate all entries of the specifiedmapwith the map atColumnName.- Parameters:
map- must not be null.- Returns:
- a new
Updateobject containing the merge result of the existing assignments and the current assignment.
-