Class SetClauseList

  • All Implemented Interfaces:
    HasSQL

    public final class SetClauseList
    extends java.lang.Object
    implements HasSQL
    Set clause list.
    • 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 column
        arrayIndexes - non-empty array of indexes for array element assignment, or null for simple assignment
        expression - the expression
      • addMultiple

        public void addMultiple​(java.util.ArrayList<Column> columns,
                                java.util.ArrayList<Expression[]> allIndexes,
                                Expression expression)
        Add multiple columns.
        Parameters:
        columns - the columns
        allIndexes - list of non-empty arrays of indexes for array element assignments, or null values for simple assignments
        expression - the expression (e.g. an expression list)
      • getSQL

        public java.lang.StringBuilder getSQL​(java.lang.StringBuilder builder,
                                              int sqlFlags)
        Description copied from interface: HasSQL
        Appends the SQL statement of this object to the specified builder.
        Specified by:
        getSQL in interface HasSQL
        Parameters:
        builder - string builder
        sqlFlags - formatting flags
        Returns:
        the specified string builder