Interface Upsert
-
Method Summary
Modifier and TypeMethodDescriptionstatic UpsertBuilder.UpsertInsertstatic Upsertcreate(Table table, Consumer<UpsertBuilder> consumer) Return the column-value assignments for theINSERTpart.Return columns that identify a conflicting row.getTable()Return the target table.Return columns to be assigned in theUPDATEpart.
-
Method Details
-
builder
- Parameters:
table- the target table; must not be null.- Returns:
- the first builder step.
-
create
-
getTable
Table getTable()Return the target table. -
getAssignments
List<Assignment> getAssignments()Return the column-value assignments for theINSERTpart. -
getConflictColumns
-
getUpdateColumns
-