public class LambdaDeleteWrapper<T> extends AbstractQueryCompare<T,LambdaOperations.LambdaDelete<T>> implements LambdaOperations.LambdaDelete<T>
queryParam, queryTemplatedbType| 构造器和说明 |
|---|
LambdaDeleteWrapper(TableMapping<T> tableMapping,
LambdaTemplate jdbcTemplate) |
| 限定符和类型 | 方法和说明 |
|---|---|
DeleteExecute<T> |
allowEmptyWhere()
允许空 Where条件(注意:空 Where 条件会导致删除整个数据库)
|
int |
doDelete()
根据 Lambda 构造器的条件执行删除
|
BoundSql |
getOriginalBoundSql() |
protected LambdaOperations.LambdaDelete<T> |
getSelf() |
protected boolean |
supportPage()
由于 pageInfo 是在高层 QueryExecute 实现中提供的能力,因此提供一个开关。
|
LambdaOperations.LambdaDelete<T> |
useQualifier() |
addCondition, and, apply, between, between, conditionName, eq, eq, fmtColumn, format, formatSegment, ge, ge, gt, gt, in, in, isNotNull, isNotNull, isNull, isNull, le, le, like, like, likeLeft, likeLeft, likeRight, likeRight, lockCondition, lt, lt, ne, ne, nested, notBetween, notBetween, notIn, notIn, notLike, notLike, notLikeLeft, notLikeLeft, notLikeRight, notLikeRight, orgetBoundSql, getBoundSql, pageInfo, query, query, query, queryForCount, queryForLargeCount, queryForList, queryForMap, queryForMapList, queryForObject, wrapperTypebuildTabName, dialect, enableQualifier, exampleType, getJdbcTemplate, getTableMapping, isQualifier, setDialectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexampleTypegetBoundSql, getBoundSqland, and, apply, between, between, eq, eq, ge, ge, gt, gt, in, in, isNotNull, isNotNull, isNull, isNull, le, le, like, like, likeLeft, likeLeft, likeRight, likeRight, lt, lt, ne, ne, nested, notBetween, notBetween, notIn, notIn, notLike, notLike, notLikeLeft, notLikeLeft, notLikeRight, notLikeRight, or, orwrapperTypepublic LambdaDeleteWrapper(TableMapping<T> tableMapping, LambdaTemplate jdbcTemplate)
protected boolean supportPage()
AbstractQueryExecutesupportPage 在类中 AbstractQueryExecute<T>protected LambdaOperations.LambdaDelete<T> getSelf()
getSelf 在类中 AbstractQueryCompare<T,LambdaOperations.LambdaDelete<T>>public LambdaOperations.LambdaDelete<T> useQualifier()
useQualifier 在接口中 LambdaOperations.LambdaCommon<DeleteExecute<T>,T>public DeleteExecute<T> allowEmptyWhere()
DeleteExecuteallowEmptyWhere 在接口中 DeleteExecute<T>public BoundSql getOriginalBoundSql()
public int doDelete()
throws SQLException
DeleteExecutedoDelete 在接口中 DeleteExecute<T>SQLExceptionCopyright © 2021. All rights reserved.