public class DeleteChain extends BaseDelete<DeleteChain>
| 限定符和类型 | 字段和说明 |
|---|---|
protected Class<?> |
entityType |
protected BaseMapper |
mapper |
timeout$, conditionFactory, deleteTable, from, joins, wherecmds| 限定符 | 构造器和说明 |
|---|---|
protected |
DeleteChain() |
|
DeleteChain(BaseMapper mapper,
Class<?> entityType) |
|
DeleteChain(BaseMapper mapper,
Class<?> entityType,
Where where) |
|
DeleteChain(MybatisMapper<?> mapper) |
|
DeleteChain(MybatisMapper<?> mapper,
Where where) |
| 限定符和类型 | 方法和说明 |
|---|---|
static DeleteChain |
create()
非特殊情况 请使用of静态方法
使用此方法后 后续执行查询需调用一次withMapper(mybatisMapper)方法
|
int |
execute()
执行
|
protected Class<?> |
getEntityType() |
static DeleteChain |
of(BaseMapper mapper,
Class<?> entityType) |
static DeleteChain |
of(BaseMapper mapper,
Class<?> entityType,
Where where) |
static DeleteChain |
of(MybatisMapper<?> mapper) |
static DeleteChain |
of(MybatisMapper<?> mapper,
Where where) |
DeleteChain |
withMapper(BaseMapper mapper,
Class<?> entityType)
用create静态方法的 Chain 需要调用一次此方法 用于设置 mapper
|
DeleteChain |
withMapper(MybatisMapper<?> mapper)
用create静态方法的 Chain 需要调用一次此方法 用于设置 mapper
|
delete, delete, from, from, from, getSQLListeners, getTimeout, initCmdSorts, timeout$, $, $, $, $, $, $, $delete, $from, $join, $where, and, from, getDeleteTable, getFrom, getJoins, getWhere, join, join, join, orappend, cmds, cmdSorts, contain, dbAdapt, selectorExecuteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconditionChainfrom, frominnerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoinforSearch, forSearch, ignoreEmptyInCondition, ignoreNullValueInCondition, trimStringInConditionand, and, and, and, and, and, and, and, and, and, and, andNested, between, between, empty, empty, eq, eq, eq, exists, gt, gt, gt, gte, gte, gte, iLike, iLike, in, in, in, in, in, in, isNotNull, isNotNull, isNull, isNull, like, like, lt, lt, lt, lte, lte, lte, ne, ne, ne, notBetween, notBetween, notEmpty, notEmpty, notExists, notILike, notILike, notIn, notIn, notIn, notIn, notIn, notIn, notLike, notLike, or, or, or, or, or, or, or, or, or, or, or, orNestediLike, like, notILike, notLikeeq, eq, eq, eq, eq, eqeq, eqne, ne, ne, ne, ne, nene, negt, gt, gt, gt, gt, gtgt, gtgte, gte, gte, gte, gte, gtegte, gtelt, lt, lt, lt, lt, ltlt, ltlte, lte, lte, lte, lte, ltelte, ltelike, like, like, like, like, like, likelike, like, like, likenotLike, notLike, notLike, notLike, notLike, notLike, notLikenotLike, notLike, notLike, notLikeiLike, iLike, iLike, iLike, iLike, iLike, iLikeiLike, iLike, iLike, iLikenotILike, notILike, notILike, notILike, notILike, notILike, notILikenotILike, notILike, notILike, notILikebetween, between, between, between, betweenbetween, between, between, between, between, between, between, between, betweennotBetween, notBetween, notBetween, notBetween, notBetweennotBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetweenisNull, isNullisNotNull, isNotNullempty, empty, emptynotEmpty, notEmpty, notEmptyin, in, in, in, in, in, in, in, innotIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notInexists, notExistsandNested, orNestedcmds, cmdSorts, comparator, connect, connect, selectorExecute, sortedCmds, sqlprotected BaseMapper mapper
protected Class<?> entityType
protected DeleteChain()
public DeleteChain(MybatisMapper<?> mapper)
public DeleteChain(MybatisMapper<?> mapper, Where where)
public DeleteChain(BaseMapper mapper, Class<?> entityType)
public DeleteChain(BaseMapper mapper, Class<?> entityType, Where where)
public static DeleteChain of(MybatisMapper<?> mapper)
public static DeleteChain of(MybatisMapper<?> mapper, Where where)
public static DeleteChain of(BaseMapper mapper, Class<?> entityType)
public static DeleteChain of(BaseMapper mapper, Class<?> entityType, Where where)
public static DeleteChain create()
protected Class<?> getEntityType()
public DeleteChain withMapper(MybatisMapper<?> mapper)
mapper - 操作目标实体类的mapperpublic DeleteChain withMapper(BaseMapper mapper, Class<?> entityType)
mapper - 一般都是BasicMapperpublic int execute()
Copyright © 2025. All rights reserved.