Package org.h2.command.dml
Class SetClauseList
- java.lang.Object
-
- org.h2.command.dml.SetClauseList
-
-
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 Constructor Description SetClauseList(Table table)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMultiple(java.util.ArrayList<Column> columns, java.util.ArrayList<Expression[]> allIndexes, Expression expression)Add multiple columns.voidaddSingle(Column column, Expression[] arrayIndexes, Expression expression)Add a single column.java.lang.StringBuildergetSQL(java.lang.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, wait
-
Methods inherited from interface org.h2.util.HasSQL
getSQL, getTraceSQL
-
-
-
-
Constructor Detail
-
SetClauseList
public SetClauseList(Table table)
-
-
Method Detail
-
addSingle
public void addSingle(Column column, Expression[] arrayIndexes, Expression expression)
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(java.util.ArrayList<Column> columns, java.util.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
public java.lang.StringBuilder getSQL(java.lang.StringBuilder builder, int sqlFlags)Description copied from interface:HasSQLAppends the SQL statement of this object to the specified builder.
-
-