Class StatementMapper.UpdateSpec
java.lang.Object
org.springframework.data.r2dbc.core.StatementMapper.UpdateSpec
- Enclosing interface:
StatementMapper
UPDATE specification.- Author:
- Mark Paluch, Roman Chigvintsev, Mingyuan Wu, Diego Krupitza
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUpdateSpec(SqlIdentifier table, @Nullable Update update, @Nullable CriteriaDefinition criteria) -
Method Summary
Modifier and TypeMethodDescriptionstatic StatementMapper.UpdateSpecCreate anINSERTspecification fortable.static StatementMapper.UpdateSpeccreate(SqlIdentifier table, Update update) Create anINSERTspecification fortable.@Nullable CriteriaDefinitiongetTable()@Nullable UpdatewithCriteria(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
-