类 AbstractChainWrapper<T,R,Children extends AbstractChainWrapper<T,R,Children,Param>,Param extends com.baomidou.mybatisplus.core.conditions.AbstractWrapper<T,R,Param>>
java.lang.Object
com.baomidou.mybatisplus.core.conditions.Wrapper<T>
com.baomidou.mybatisplus.extension.conditions.AbstractChainWrapper<T,R,Children,Param>
- 所有已实现的接口:
com.baomidou.mybatisplus.core.conditions.interfaces.Compare<Children,,R> com.baomidou.mybatisplus.core.conditions.interfaces.Func<Children,,R> com.baomidou.mybatisplus.core.conditions.interfaces.Join<Children>,com.baomidou.mybatisplus.core.conditions.interfaces.Nested<Param,,Children> com.baomidou.mybatisplus.core.conditions.ISqlSegment,Serializable
public abstract class AbstractChainWrapper<T,R,Children extends AbstractChainWrapper<T,R,Children,Param>,Param extends com.baomidou.mybatisplus.core.conditions.AbstractWrapper<T,R,Param>>
extends com.baomidou.mybatisplus.core.conditions.Wrapper<T>
implements com.baomidou.mybatisplus.core.conditions.interfaces.Compare<Children,R>, com.baomidou.mybatisplus.core.conditions.interfaces.Func<Children,R>, com.baomidou.mybatisplus.core.conditions.interfaces.Join<Children>, com.baomidou.mybatisplus.core.conditions.interfaces.Nested<Param,Children>
所有包装类都继承此抽象类,此抽象类代理了大部分生成 where 条件的方法
泛型: Children ,表示子类
泛型: Param ,表示子类所包装的具体 Wrapper 类型
- 从以下版本开始:
- 2018-12-19
- 作者:
- miemie
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明<V> ChildrenallEq(boolean condition, BiPredicate<R, V> filter, Map<R, V> params, boolean null2IsNull) <V> Childrenvoidclear()protected Objectclone()protected Childrenprotected Childrenprotected ChildrendoOrderByAsc(boolean condition, R column, List<R> columns) protected ChildrendoOrderByDesc(boolean condition, R column, List<R> columns) com.baomidou.mybatisplus.core.conditions.segments.MergeSegmentsfinal Childrenfinal Childrenin(boolean condition, R column, Collection<?> coll) notBetween(boolean condition, R column, Object val1, Object val2) notIn(boolean condition, R column, Collection<?> coll) notLikeLeft(boolean condition, R column, Object val) notLikeRight(boolean condition, R column, Object val) or(boolean condition) final Childrenfinal ChildrenorderByAsc(boolean condition, R column, R... columns) final ChildrenorderByAsc(R column, R... columns) final ChildrenorderByDesc(boolean condition, R column, R... columns) final ChildrenorderByDesc(R column, R... columns) setEntityClass(Class<T> entityClass) 从类继承的方法 com.baomidou.mybatisplus.core.conditions.Wrapper
isEmptyOfEntity, isEmptyOfNormal, isEmptyOfWhere, isNonEmptyOfEntity, isNonEmptyOfNormal, isNonEmptyOfWhere, nonEmptyOfEntity, nonEmptyOfNormal, nonEmptyOfWhere从类继承的方法 java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.baomidou.mybatisplus.core.conditions.interfaces.Compare
allEq, allEq, allEq, allEq, between, eq, ge, gt, le, like, likeLeft, likeRight, lt, ne, notBetween, notLike, notLikeLeft, notLikeRight从接口继承的方法 com.baomidou.mybatisplus.core.conditions.interfaces.Func
eqSql, func, geSql, groupBy, groupBy, gtSql, having, in, in, inSql, isNotNull, isNull, leSql, ltSql, notIn, notIn, notInSql, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByDesc从接口继承的方法 com.baomidou.mybatisplus.core.conditions.interfaces.Join
apply, comment, exists, first, last, notExists, or从接口继承的方法 com.baomidou.mybatisplus.core.conditions.interfaces.Nested
and, nested, not, or
-
字段详细资料
-
构造器详细资料
-
AbstractChainWrapper
public AbstractChainWrapper()必须的构造函数
-
-
方法详细资料
-
getWrapper
-
setEntity
-
setEntityClass
-
allEq
-
allEq
public <V> Children allEq(boolean condition, BiPredicate<R, V> filter, Map<R, V> params, boolean null2IsNull) -
eq
-
ne
-
gt
-
ge
-
lt
-
le
-
between
-
notBetween
-
like
-
likeLeft
-
likeRight
-
notLike
-
notLikeLeft
-
notLikeRight
-
isNull
-
isNotNull
-
in
-
in
-
notIn
-
notIn
-
eqSql
-
inSql
-
gtSql
-
geSql
-
ltSql
-
leSql
-
notInSql
-
groupBy
-
groupBy
-
groupBy
-
groupBy
-
orderBy
@SafeVarargs public final Children orderBy(boolean condition, boolean isAsc, R column, R... columns) -
orderBy
-
groupBy
-
orderByAsc
-
orderByAsc
-
orderByDesc
-
orderByDesc
-
doOrderByDesc
-
doOrderByAsc
-
doOrderBy
-
doGroupBy
-
orderBy
-
orderBy
-
having
-
func
-
or
- 指定者:
or在接口中com.baomidou.mybatisplus.core.conditions.interfaces.Join<T>
-
apply
- 指定者:
apply在接口中com.baomidou.mybatisplus.core.conditions.interfaces.Join<T>
-
last
- 指定者:
last在接口中com.baomidou.mybatisplus.core.conditions.interfaces.Join<T>
-
comment
- 指定者:
comment在接口中com.baomidou.mybatisplus.core.conditions.interfaces.Join<T>
-
first
- 指定者:
first在接口中com.baomidou.mybatisplus.core.conditions.interfaces.Join<T>
-
exists
- 指定者:
exists在接口中com.baomidou.mybatisplus.core.conditions.interfaces.Join<T>
-
notExists
- 指定者:
notExists在接口中com.baomidou.mybatisplus.core.conditions.interfaces.Join<T>
-
and
-
or
-
nested
-
not
-
getSqlSegment
- 指定者:
getSqlSegment在接口中com.baomidou.mybatisplus.core.conditions.ISqlSegment
-
getSqlFirst
- 覆盖:
getSqlFirst在类中com.baomidou.mybatisplus.core.conditions.Wrapper<T>
-
getSqlSelect
- 覆盖:
getSqlSelect在类中com.baomidou.mybatisplus.core.conditions.Wrapper<T>
-
getSqlSet
- 覆盖:
getSqlSet在类中com.baomidou.mybatisplus.core.conditions.Wrapper<T>
-
getSqlComment
- 覆盖:
getSqlComment在类中com.baomidou.mybatisplus.core.conditions.Wrapper<T>
-
getTargetSql
- 覆盖:
getTargetSql在类中com.baomidou.mybatisplus.core.conditions.Wrapper<T>
-
getEntity
- 指定者:
getEntity在类中com.baomidou.mybatisplus.core.conditions.Wrapper<T>
-
getExpression
public com.baomidou.mybatisplus.core.conditions.segments.MergeSegments getExpression()- 指定者:
getExpression在类中com.baomidou.mybatisplus.core.conditions.Wrapper<T>
-
getCustomSqlSegment
- 覆盖:
getCustomSqlSegment在类中com.baomidou.mybatisplus.core.conditions.Wrapper<T>
-
clear
public void clear()- 指定者:
clear在类中com.baomidou.mybatisplus.core.conditions.Wrapper<T>
-
clone
- 覆盖:
clone在类中Object- 抛出:
CloneNotSupportedException
-