public class Update extends Object implements Serializable
UPDATE
statement.Modifier and Type | Field and Description |
---|---|
protected String[] |
from |
protected String |
newValues |
protected Table |
table |
protected String |
where |
Modifier and Type | Method and Description |
---|---|
String |
getStatement() |
Table |
getTable() |
void |
setFrom(String... from)
Sets additional table names with which to join for this update.
|
void |
setNewValues(String newValues) |
void |
setUpdatedColumns(List<Column> columns)
Alternative to
setNewValues(java.lang.String) |
void |
setUpdatedColumns(List<Column> columns,
Set<String> deltas)
Alternative to
setNewValues(java.lang.String) |
void |
setWhere(String where) |
public void setNewValues(String newValues)
public void setUpdatedColumns(List<Column> columns)
setNewValues(java.lang.String)
public void setUpdatedColumns(List<Column> columns, Set<String> deltas)
setNewValues(java.lang.String)
columns
- the columnsdeltas
- which of the columns are delta updatespublic void setFrom(String... from)
public String getStatement()
Copyright © 2018 Nuxeo. All rights reserved.