public static class StatementMapper.DeleteSpec extends Object
DELETE
specification.Modifier | Constructor and Description |
---|---|
protected |
DeleteSpec(org.springframework.data.relational.core.sql.SqlIdentifier table,
org.springframework.data.relational.core.query.CriteriaDefinition criteria) |
Modifier and Type | Method and Description |
---|---|
static StatementMapper.DeleteSpec |
create(org.springframework.data.relational.core.sql.SqlIdentifier table)
Create an
DELETE specification for table . |
static StatementMapper.DeleteSpec |
create(String table)
Create an
DELETE specification for table . |
org.springframework.data.relational.core.query.CriteriaDefinition |
getCriteria() |
org.springframework.data.relational.core.sql.SqlIdentifier |
getTable() |
StatementMapper.DeleteSpec |
withCriteria(org.springframework.data.relational.core.query.CriteriaDefinition criteria)
Associate a
Criteria with the delete and return a new StatementMapper.DeleteSpec . |
protected DeleteSpec(org.springframework.data.relational.core.sql.SqlIdentifier table, org.springframework.data.relational.core.query.CriteriaDefinition criteria)
public static StatementMapper.DeleteSpec create(String table)
DELETE
specification for table
.table
- StatementMapper.DeleteSpec
.public static StatementMapper.DeleteSpec create(org.springframework.data.relational.core.sql.SqlIdentifier table)
DELETE
specification for table
.table
- StatementMapper.DeleteSpec
.public StatementMapper.DeleteSpec withCriteria(org.springframework.data.relational.core.query.CriteriaDefinition criteria)
Criteria
with the delete and return a new StatementMapper.DeleteSpec
.criteria
- StatementMapper.DeleteSpec
.public org.springframework.data.relational.core.sql.SqlIdentifier getTable()
@Nullable public org.springframework.data.relational.core.query.CriteriaDefinition getCriteria()
Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.