public static class StatementMapper.UpdateSpec extends Object
UPDATE
specification.Modifier | Constructor and Description |
---|---|
protected |
UpdateSpec(org.springframework.data.relational.core.sql.SqlIdentifier table,
Update update,
Criteria criteria) |
Modifier and Type | Method and Description |
---|---|
static StatementMapper.UpdateSpec |
create(org.springframework.data.relational.core.sql.SqlIdentifier table,
Update update)
Create an
INSERT specification for table . |
static StatementMapper.UpdateSpec |
create(String table,
Update update)
Create an
INSERT specification for table . |
Criteria |
getCriteria() |
org.springframework.data.relational.core.sql.SqlIdentifier |
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 static StatementMapper.UpdateSpec create(org.springframework.data.relational.core.sql.SqlIdentifier 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 org.springframework.data.relational.core.sql.SqlIdentifier getTable()
Copyright © 2018–2020 Pivotal Software, Inc.. All rights reserved.