public class InsertConflictAction extends Object implements Serializable
conflict_action is one of:
DO NOTHING
DO UPDATE SET { column_name = { expression | DEFAULT } |
( column_name [, ...] ) = [ ROW ] ( { expression | DEFAULT } [, ...] ) |
( column_name [, ...] ) = ( sub-SELECT )
} [, ...]
[ WHERE condition ]
| Constructor and Description |
|---|
InsertConflictAction(ConflictActionType conflictActionType) |
| Modifier and Type | Method and Description |
|---|---|
InsertConflictAction |
addUpdateSet(Column column,
Expression expression) |
InsertConflictAction |
addUpdateSet(UpdateSet updateSet) |
StringBuilder |
appendTo(StringBuilder builder) |
ConflictActionType |
getConflictActionType() |
ArrayList<UpdateSet> |
getUpdateSets() |
Expression |
getWhereExpression() |
void |
setConflictActionType(ConflictActionType conflictActionType) |
void |
setWhereExpression(Expression whereExpression) |
String |
toString() |
InsertConflictAction |
withConflictActionType(ConflictActionType conflictActionType) |
InsertConflictAction |
withUpdateSets(Collection<UpdateSet> updateSets) |
InsertConflictAction |
withWhereExpression(Expression whereExpression) |
public InsertConflictAction(ConflictActionType conflictActionType)
public ConflictActionType getConflictActionType()
public void setConflictActionType(ConflictActionType conflictActionType)
public InsertConflictAction withConflictActionType(ConflictActionType conflictActionType)
public InsertConflictAction addUpdateSet(Column column, Expression expression)
public InsertConflictAction addUpdateSet(UpdateSet updateSet)
public InsertConflictAction withUpdateSets(Collection<UpdateSet> updateSets)
public Expression getWhereExpression()
public void setWhereExpression(Expression whereExpression)
public InsertConflictAction withWhereExpression(Expression whereExpression)
public StringBuilder appendTo(StringBuilder builder)
Copyright © 2004–2023 JSQLParser. All rights reserved.