Module spring.data.r2dbc
Class StatementMapper.DeleteSpec
java.lang.Object
org.springframework.data.r2dbc.core.StatementMapper.DeleteSpec
- Enclosing interface:
- StatementMapper
DELETE specification.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeleteSpec(org.springframework.data.relational.core.sql.SqlIdentifier table, org.springframework.data.relational.core.query.CriteriaDefinition criteria) -
Method Summary
Modifier and TypeMethodDescriptionstatic StatementMapper.DeleteSpecCreate anDELETEspecification fortable.static StatementMapper.DeleteSpeccreate(org.springframework.data.relational.core.sql.SqlIdentifier table) Create anDELETEspecification fortable.org.springframework.data.relational.core.query.CriteriaDefinitionorg.springframework.data.relational.core.sql.SqlIdentifiergetTable()withCriteria(org.springframework.data.relational.core.query.CriteriaDefinition criteria) Associate aCriteriawith 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 anDELETEspecification fortable.- Parameters:
table-- Returns:
- the
StatementMapper.DeleteSpec.
-
create
public static StatementMapper.DeleteSpec create(org.springframework.data.relational.core.sql.SqlIdentifier table) Create anDELETEspecification fortable.- Parameters:
table-- Returns:
- the
StatementMapper.DeleteSpec. - Since:
- 1.1
-
withCriteria
public StatementMapper.DeleteSpec withCriteria(org.springframework.data.relational.core.query.CriteriaDefinition criteria) Associate aCriteriawith the delete and return a newStatementMapper.DeleteSpec.- Parameters:
criteria-- Returns:
- the
StatementMapper.DeleteSpec.
-
getTable
public org.springframework.data.relational.core.sql.SqlIdentifier getTable() -
getCriteria
-