Interface UpsertBuilder.OngoingConflictResolution
- Enclosing interface:
UpsertBuilder
public static interface UpsertBuilder.OngoingConflictResolution
Step for specifying what to do when a conflict is detected.
- Since:
- 4.1
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionupdate(Collection<Column> columns) Resolve the conflict by updating the givencolumnsof the existing row.default UpsertBuilder.ConflictResolutionResolve the conflict by updating the givencolumnsof the existing row.Resolve the conflict by updating the existing row using the previously specified assignments for non-conflicting columns that are not part ofUpsertBuilder.ConflictColumn.with(Column).
-
Method Details
-
updateRemainingColumns
UpsertBuilder.ConflictResolution updateRemainingColumns()Resolve the conflict by updating the existing row using the previously specified assignments for non-conflicting columns that are not part ofUpsertBuilder.ConflictColumn.with(Column).- Returns:
- the conflict resolution strategy.
-
update
Resolve the conflict by updating the givencolumnsof the existing row.- Returns:
- the conflict resolution strategy.
-
update
Resolve the conflict by updating the givencolumnsof the existing row.- Returns:
- the conflict resolution strategy.
-