Package org.h2.command.dml
Class SetClauseList
java.lang.Object
org.h2.command.dml.SetClauseList
- All Implemented Interfaces:
HasSQL
Set clause list.
-
Field Summary
Fields inherited from interface org.h2.util.HasSQL
ADD_PLAN_INFORMATION, DEFAULT_SQL_FLAGS, NO_CASTS, QUOTE_ONLY_WHEN_REQUIRED, REPLACE_LOBS_FOR_TRACE, TRACE_SQL_FLAGS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMultiple(ArrayList<Column> columns, ArrayList<Expression[]> allIndexes, Expression expression) Add multiple columns.voidaddSingle(Column column, Expression[] arrayIndexes, Expression expression) Add a single column.getSQL(StringBuilder builder, int sqlFlags) Appends the SQL statement of this object to the specified builder.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.h2.util.HasSQL
getSQL, getTraceSQL
-
Constructor Details
-
SetClauseList
-
-
Method Details
-
addSingle
Add a single column.- Parameters:
column- the columnarrayIndexes- non-empty array of indexes for array element assignment, ornullfor simple assignmentexpression- the expression
-
addMultiple
public void addMultiple(ArrayList<Column> columns, ArrayList<Expression[]> allIndexes, Expression expression) Add multiple columns.- Parameters:
columns- the columnsallIndexes- list of non-empty arrays of indexes for array element assignments, ornullvalues for simple assignmentsexpression- the expression (e.g. an expression list)
-
getSQL
Description copied from interface:HasSQLAppends the SQL statement of this object to the specified builder.
-