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