Class StatementMapper.DeleteSpec
java.lang.Object
org.springframework.data.r2dbc.core.StatementMapper.DeleteSpec
- Enclosing interface:
- StatementMapper
DELETE
specification.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DeleteSpec
(org.springframework.data.relational.core.sql.SqlIdentifier table, org.springframework.data.relational.core.query.CriteriaDefinition criteria) -
Method Summary
Modifier and TypeMethodDescriptionstatic StatementMapper.DeleteSpec
Create anDELETE
specification fortable
.static StatementMapper.DeleteSpec
create
(org.springframework.data.relational.core.sql.SqlIdentifier table) Create anDELETE
specification fortable
.org.springframework.data.relational.core.query.CriteriaDefinition
org.springframework.data.relational.core.sql.SqlIdentifier
getTable()
withCriteria
(org.springframework.data.relational.core.query.CriteriaDefinition criteria) Associate aCriteria
with the delete and return a newStatementMapper.DeleteSpec
.
-
Constructor Details
-
DeleteSpec
protected DeleteSpec(org.springframework.data.relational.core.sql.SqlIdentifier table, org.springframework.data.relational.core.query.CriteriaDefinition criteria)
-
-
Method Details
-
create
Create anDELETE
specification fortable
.- Parameters:
table
-- Returns:
- the
StatementMapper.DeleteSpec
.
-
create
public static StatementMapper.DeleteSpec create(org.springframework.data.relational.core.sql.SqlIdentifier table) Create anDELETE
specification fortable
.- Parameters:
table
-- Returns:
- the
StatementMapper.DeleteSpec
. - Since:
- 1.1
-
withCriteria
public StatementMapper.DeleteSpec withCriteria(org.springframework.data.relational.core.query.CriteriaDefinition criteria) Associate aCriteria
with the delete and return a newStatementMapper.DeleteSpec
.- Parameters:
criteria
-- Returns:
- the
StatementMapper.DeleteSpec
.
-
getTable
public org.springframework.data.relational.core.sql.SqlIdentifier getTable() -
getCriteria
-