Class UpdateSet
java.lang.Object
net.sf.jsqlparser.statement.update.UpdateSet
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ExpressionList
<Column> protected ExpressionList
<Expression> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(Expression expression) Add another expression to the existing value list.void
add
(ExpressionList<?> expressionList) void
Add another column to the existing column list.void
add
(Column column, Expression value) (package private) StringBuilder
appendTo
(StringBuilder builder, int j) static final StringBuilder
appendUpdateSetsTo
(StringBuilder builder, Collection<UpdateSet> updateSets) getColumn
(int index) getValue
(int index) void
setColumns
(ExpressionList<Column> columns) void
setValues
(ExpressionList values)
-
Field Details
-
columns
-
values
-
-
Constructor Details
-
UpdateSet
public UpdateSet() -
UpdateSet
-
UpdateSet
-
-
Method Details
-
getColumns
-
getColumn
-
setColumns
-
getValues
-
getValue
-
setValues
-
add
-
add
Add another column to the existing column list. Transform this list into a ParenthesedExpression list when needed.- Parameters:
column
-
-
add
Add another expression to the existing value list. Transform this list into a ParenthesedExpression list when needed.- Parameters:
expression
-
-
add
-
appendUpdateSetsTo
public static final StringBuilder appendUpdateSetsTo(StringBuilder builder, Collection<UpdateSet> updateSets) -
appendTo
-