Class Upsert
java.lang.Object
net.sf.jsqlparser.statement.upsert.Upsert
- All Implemented Interfaces:
Serializable
,Model
,Statement
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ExpressionList
<Column> private ExpressionList
<?> private boolean
private Select
private Table
private UpsertType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(StatementVisitor statementVisitor) addColumns
(Collection<? extends Column> columns) addColumns
(Column... columns) Deprecated.getTable()
boolean
void
setColumns
(ExpressionList<Column> list) setDuplicateUpdateSets
(List<UpdateSet> duplicateUpdateSets) void
setExpressions
(ExpressionList list) void
void
setUpdateSets
(List<UpdateSet> updateSets) void
setUpsertType
(UpsertType upsertType) void
setUsingInto
(boolean useInto) toString()
withColumns
(ExpressionList<Column> columns) withExpressions
(ExpressionList expressions) withSelect
(Select select) withUpsertType
(UpsertType upsertType) withUsingInto
(boolean useInto)
-
Field Details
-
table
-
columns
-
expressions
-
select
-
updateSets
-
duplicateUpdateSets
-
upsertType
-
isUsingInto
private boolean isUsingInto
-
-
Constructor Details
-
Upsert
public Upsert()
-
-
Method Details
-
getUpdateSets
-
setUpdateSets
-
getDuplicateUpdateSets
-
setDuplicateUpdateSets
-
accept
-
getUpsertType
-
setUpsertType
-
withUpsertType
-
isUsingInto
public boolean isUsingInto() -
setUsingInto
public void setUsingInto(boolean useInto) -
withUsingInto
-
getTable
-
setTable
-
getColumns
-
setColumns
-
getExpressions
-
setExpressions
-
getSetExpressions
Deprecated. -
getSelect
-
setSelect
-
getValues
-
getPlainSelect
-
getSetOperationList
-
toString
-
withSelect
-
withTable
-
withColumns
-
withExpressions
-
addColumns
-
addColumns
-