Class InsertConflictAction
java.lang.Object
net.sf.jsqlparser.statement.insert.InsertConflictAction
- All Implemented Interfaces:
Serializable
https://www.postgresql.org/docs/current/sql-insert.html
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 ]
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ConflictActionType
(package private) Expression
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUpdateSet
(Column column, Expression expression) addUpdateSet
(UpdateSet updateSet) appendTo
(StringBuilder builder) void
setConflictActionType
(ConflictActionType conflictActionType) void
setUpdateSets
(List<UpdateSet> updateSets) void
setWhereExpression
(Expression whereExpression) toString()
withConflictActionType
(ConflictActionType conflictActionType) withUpdateSets
(Collection<UpdateSet> updateSets) withUpdateSets
(List<UpdateSet> updateSets) withWhereExpression
(Expression whereExpression)
-
Field Details
-
conflictActionType
ConflictActionType conflictActionType -
updateSets
-
whereExpression
Expression whereExpression
-
-
Constructor Details
-
InsertConflictAction
-
-
Method Details