public static class StatementMapper.UpdateSpec extends Object
UPDATE specification.| Modifier | Constructor and Description |
|---|---|
protected |
UpdateSpec(String table,
Update update,
Criteria criteria) |
| Modifier and Type | Method and Description |
|---|---|
static StatementMapper.UpdateSpec |
create(String table,
Update update)
Create an
INSERT specification for table. |
Criteria |
getCriteria() |
String |
getTable() |
Update |
getUpdate() |
StatementMapper.UpdateSpec |
withCriteria(Criteria criteria)
Associate a
Criteria with the update and return a new StatementMapper.UpdateSpec. |
public static StatementMapper.UpdateSpec create(String table, Update update)
INSERT specification for table.table - StatementMapper.InsertSpec.public StatementMapper.UpdateSpec withCriteria(Criteria criteria)
Criteria with the update and return a new StatementMapper.UpdateSpec.criteria - StatementMapper.UpdateSpec.public String getTable()
public Update getUpdate()
Copyright © 2018–2019 Pivotal Software, Inc.. All rights reserved.