public interface UpdateStatement extends Statement<UpdateStatement,Result>
Statement.LockContention
Modifier and Type | Method | Description |
---|---|---|
UpdateStatement |
limit(long numberOfRows) |
Add/replace the row limit for this statement.
|
UpdateStatement |
orderBy(String... sortFields) |
Add/replace the order specification for this statement.
|
UpdateStatement |
set(Map<String,Object> fieldsAndValues) |
Add the given set of updates to the statement.
|
UpdateStatement |
set(String field,
Object value) |
Add the given update to the statement setting field to value for all rows matching the search criteria.
|
UpdateStatement |
where(String searchCondition) |
Add/replace the search criteria for this statement.
|
bind, bind, bind, bind, clearBindings, execute, executeAsync
UpdateStatement set(Map<String,Object> fieldsAndValues)
fieldsAndValues
- table name-value pairsUpdateStatement
UpdateStatement set(String field, Object value)
field
- field namevalue
- value to setUpdateStatement
UpdateStatement where(String searchCondition)
searchCondition
- search condition expressionUpdateStatement
UpdateStatement orderBy(String... sortFields)
sortFields
- sort expressionUpdateStatement
UpdateStatement limit(long numberOfRows)
numberOfRows
- limitUpdateStatement