Module spring.data.r2dbc
Class StatementMapper.UpdateSpec
java.lang.Object
org.springframework.data.r2dbc.core.StatementMapper.UpdateSpec
- Enclosing interface:
- StatementMapper
UPDATE specification.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUpdateSpec(org.springframework.data.relational.core.sql.SqlIdentifier table, org.springframework.data.relational.core.query.Update update, org.springframework.data.relational.core.query.CriteriaDefinition criteria) -
Method Summary
Modifier and TypeMethodDescriptionstatic StatementMapper.UpdateSpecCreate anINSERTspecification fortable.static StatementMapper.UpdateSpeccreate(org.springframework.data.relational.core.sql.SqlIdentifier table, org.springframework.data.relational.core.query.Update update) Create anINSERTspecification fortable.org.springframework.data.relational.core.query.CriteriaDefinitionorg.springframework.data.relational.core.sql.SqlIdentifiergetTable()org.springframework.data.relational.core.query.UpdatewithCriteria(org.springframework.data.relational.core.query.CriteriaDefinition criteria) Associate aCriteriawith the update and return a newStatementMapper.UpdateSpec.
-
Constructor Details
-
UpdateSpec
-
-
Method Details
-
create
public static StatementMapper.UpdateSpec create(String table, org.springframework.data.relational.core.query.Update update) Create anINSERTspecification fortable.- Parameters:
table-- Returns:
- the
StatementMapper.InsertSpec.
-
create
public static StatementMapper.UpdateSpec create(org.springframework.data.relational.core.sql.SqlIdentifier table, org.springframework.data.relational.core.query.Update update) Create anINSERTspecification fortable.- Parameters:
table-- Returns:
- the
StatementMapper.InsertSpec. - Since:
- 1.1
-
withCriteria
public StatementMapper.UpdateSpec withCriteria(org.springframework.data.relational.core.query.CriteriaDefinition criteria) Associate aCriteriawith the update and return a newStatementMapper.UpdateSpec.- Parameters:
criteria-- Returns:
- the
StatementMapper.UpdateSpec.
-
getTable
public org.springframework.data.relational.core.sql.SqlIdentifier getTable() -
getUpdate
-
getCriteria
-