Interface UpsertBuilder.UpsertOnMatch
- Enclosing interface:
UpsertBuilder
public static interface UpsertBuilder.UpsertOnMatch
Step for specifying the conflict target columns.
- Since:
- 4.1
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionDeclare how to resolve a conflict if the row already exists.
-
Method Details
-
onConflict
UpsertBuilder.BuildUpsert onConflict(Function<UpsertBuilder.ConflictColumn, UpsertBuilder.ConflictResolution> resolution) Declare how to resolve a conflict if the row already exists.- Parameters:
resolution- the conflict columns; must not be null.- Returns:
- the terminal build step.
-