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