java.lang.Object
org.nuxeo.ecm.core.storage.sql.jdbc.db.Update
All Implemented Interfaces:
Serializable

public class Update extends Object implements Serializable
An UPDATE statement.
See Also:
  • Field Details

    • table

      protected final Table table
    • newValues

      protected String newValues
    • from

      protected String[] from
    • where

      protected String where
  • Constructor Details

    • Update

      public Update(Table table)
  • Method Details

    • getTable

      public Table getTable()
    • setNewValues

      public void setNewValues(String newValues)
    • setUpdatedColumns

      public void setUpdatedColumns(List<Column> columns)
    • setUpdatedColumns

      public void setUpdatedColumns(List<Column> columns, Set<String> deltas)
      Parameters:
      columns - the columns
      deltas - which of the columns are delta updates
    • setFrom

      public void setFrom(String... from)
      Sets additional table names with which to join for this update.
    • setWhere

      public void setWhere(String where)
    • getStatement

      public String getStatement()