WHERE - 条件设置器NQ - 对应的嵌套查询器public class WhereApply<WHERE extends WhereBase<WHERE,?,NQ>,NQ extends IQuery<?,NQ>> extends BaseApply<WHERE,NQ> implements ObjectWhere<WHERE,NQ>, NumericWhere<WHERE,NQ>, StringWhere<WHERE,NQ>, BooleanWhere<WHERE,NQ>
| 构造器和说明 |
|---|
WhereApply(WHERE where) |
| 限定符和类型 | 方法和说明 |
|---|---|
<O> WHERE |
apply(boolean condition,
SqlOp op,
O... args) |
<O> WHERE |
apply(SqlOp op,
O... args) |
WHERE |
apply(String opArgs)
where 自定义条件(包括操作符在内)
比如 where.age().apply("=34").end()
!!!
|
<NQ extends IQuery> |
in(Class<NQ> klass,
Function<NQ,NQ> query)
in (select ... )
|
WHERE |
in(Function<NQ,NQ> query)
in (select ... )
|
<O> WHERE |
in(String select,
O... args)
where column IN (select ... )
|
<NQ extends IQuery<?,NQ>> |
notIn(Class<NQ> queryClass,
Function<NQ,NQ> query)
not in (select ... )
|
WHERE |
notIn(Function<NQ,NQ> query)
not in (select ... )
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitin, in, in, in, notIn, notIn, notIn, notInlike, like, likeLeft, likeLeft, likeRight, likeRight, notLike, notLikebetween, between, ge, ge, gt, gt, in, in, in, in, le, le, lt, lt, notBetween, notBetween, notIn, notIn, notIn, notIneq, eq, isNull, isNull, ne, ne, notNull, notNullisFalse, isTruepublic WhereApply(WHERE where)
public <NQ extends IQuery<?,NQ>> WHERE notIn(Class<NQ> queryClass, Function<NQ,NQ> query)
Copyright © 2020. All rights reserved.