public class LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> extends QueryBase
构造器和说明 |
---|
LQuery8(QuerySqlBuilder sqlBuilder) |
限定符和类型 | 方法和说明 |
---|---|
LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> |
distinct()
设置distinct
|
LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> |
distinct(boolean condition)
设置distinct
|
<R> EndQuery<R> |
endSelect(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R>> expr) |
<R> EndQuery<R> |
endSelect(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R> expr)
此重载用于当想要返回某个字段的情况((r) -> r.getId),因为select泛型限制为必须是Result的子类
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
|
<Key extends Grouper> |
groupBy(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,Key>> expr) |
<Key extends Grouper> |
groupBy(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,Key> expr)
设置groupBy
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
|
<Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> |
innerJoin(java.lang.Class<Tn> target,
io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean>> expr) |
<Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> |
innerJoin(java.lang.Class<Tn> target,
io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean> func)
join表操作
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
|
<Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> |
innerJoin(LQuery<Tn> target,
io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean>> expr) |
<Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> |
innerJoin(LQuery<Tn> target,
io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean> func)
join表操作
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
|
protected <Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> |
joinNewQuery() |
<Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> |
leftJoin(java.lang.Class<Tn> target,
io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean>> expr) |
<Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> |
leftJoin(java.lang.Class<Tn> target,
io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean> func)
join表操作
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
|
<Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> |
leftJoin(LQuery<Tn> target,
io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean>> expr) |
<Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> |
leftJoin(LQuery<Tn> target,
io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean> func)
join表操作
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
|
LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> |
limit(long rows)
获取指定数量的数据
|
LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> |
limit(long offset,
long rows)
跳过指定数量条数据,再指定获取指定数量的数据
|
<R> LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> |
orderBy(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R>> expr) |
<R> LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> |
orderBy(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R>> expr,
boolean asc) |
<R> LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> |
orderBy(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R> expr)
设置orderBy的字段并且为升序,多次调用可以指定多个orderBy字段
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
|
<R> LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> |
orderBy(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R> expr,
boolean asc)
设置orderBy的字段以及升降序,多次调用可以指定多个orderBy字段
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
|
LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> |
orWhere(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,java.lang.Boolean>> expr) |
LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> |
orWhere(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,java.lang.Boolean> func)
设置where条件,并且以or将多个where连接
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
|
<Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> |
rightJoin(java.lang.Class<Tn> target,
io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean>> expr) |
<Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> |
rightJoin(java.lang.Class<Tn> target,
io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean> func)
join表操作
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
|
<Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> |
rightJoin(LQuery<Tn> target,
io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean>> expr) |
<Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> |
rightJoin(LQuery<Tn> target,
io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean> func)
join表操作
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
|
<R> EndQuery<R> |
select(java.lang.Class<R> r)
设置select,根据指定的类型的字段匹配去生成选择的sql字段
|
<R extends Result> |
select(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R>> expr) |
<R extends Result> |
select(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R> expr)
设置select
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
|
LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> |
where(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,java.lang.Boolean>> expr) |
LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> |
where(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,java.lang.Boolean> func)
设置where条件
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
|
any0, avg0, boxedQuerySqlBuilder, count0, distinct0, first, getConfig, getSqlBuilder, groupBy, groupByAvg0, groupByCount0, groupByMax0, groupByMin0, groupBySum0, having, include, include, include, join, join, limit0, limit0, max0, min0, orderBy, orWhere, relationTypeCheck, select, select0, singleCheck, sum0, toList, toPagedResult0, toSql, where
tryPrintBatch, tryPrintNoBatch, tryPrintSql
public LQuery8(QuerySqlBuilder sqlBuilder)
public <Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> innerJoin(java.lang.Class<Tn> target, io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean> func)
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
Tn
- join过来的表的类型target
- 数据表类或查询过程func
- 返回bool的lambda表达式(强制要求参数为lambda表达式,不可以是方法引用以及匿名对象)public <Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> innerJoin(java.lang.Class<Tn> target, io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean>> expr)
public <Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> innerJoin(LQuery<Tn> target, io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean> func)
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
Tn
- join过来的表的类型target
- 数据表类或查询过程func
- 返回bool的lambda表达式(强制要求参数为lambda表达式,不可以是方法引用以及匿名对象)public <Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> innerJoin(LQuery<Tn> target, io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean>> expr)
public <Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> leftJoin(java.lang.Class<Tn> target, io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean> func)
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
Tn
- join过来的表的类型target
- 数据表类或查询过程func
- 返回bool的lambda表达式(强制要求参数为lambda表达式,不可以是方法引用以及匿名对象)public <Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> leftJoin(java.lang.Class<Tn> target, io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean>> expr)
public <Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> leftJoin(LQuery<Tn> target, io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean> func)
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
Tn
- join过来的表的类型target
- 数据表类或查询过程func
- 返回bool的lambda表达式(强制要求参数为lambda表达式,不可以是方法引用以及匿名对象)public <Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> leftJoin(LQuery<Tn> target, io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean>> expr)
public <Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> rightJoin(java.lang.Class<Tn> target, io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean> func)
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
Tn
- join过来的表的类型target
- 数据表类或查询过程func
- 返回bool的lambda表达式(强制要求参数为lambda表达式,不可以是方法引用以及匿名对象)public <Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> rightJoin(java.lang.Class<Tn> target, io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean>> expr)
public <Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> rightJoin(LQuery<Tn> target, io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean> func)
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
Tn
- join过来的表的类型target
- 数据表类或查询过程func
- 返回bool的lambda表达式(强制要求参数为lambda表达式,不可以是方法引用以及匿名对象)public <Tn> LQuery9<T1,T2,T3,T4,T5,T6,T7,T8,Tn> rightJoin(LQuery<Tn> target, io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func9<T1,T2,T3,T4,T5,T6,T7,T8,Tn,java.lang.Boolean>> expr)
public LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> where(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,java.lang.Boolean> func)
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
func
- 返回bool的lambda表达式(强制要求参数为lambda表达式,不可以是方法引用以及匿名对象)public LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> where(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,java.lang.Boolean>> expr)
public LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> orWhere(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,java.lang.Boolean> func)
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
func
- 返回bool的lambda表达式(强制要求参数为lambda表达式,不可以是方法引用以及匿名对象)public LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> orWhere(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,java.lang.Boolean>> expr)
public <R> LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> orderBy(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R> expr, boolean asc)
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
expr
- 返回需要的字段的lambda表达式(强制要求参数为lambda表达式,不可以是方法引用以及匿名对象)asc
- 是否为升序public <R> LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> orderBy(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R>> expr, boolean asc)
public <R> LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> orderBy(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R> expr)
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
expr
- 返回需要的字段的lambda表达式(强制要求参数为lambda表达式,不可以是方法引用以及匿名对象)public <R> LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> orderBy(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R>> expr)
public LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> limit(long rows)
rows
- 需要返回的条数public LQuery8<T1,T2,T3,T4,T5,T6,T7,T8> limit(long offset, long rows)
offset
- 需要跳过的条数rows
- 需要返回的条数public <Key extends Grouper> GroupedQuery8<? extends Key,T1,T2,T3,T4,T5,T6,T7,T8> groupBy(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,Key> expr)
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
expr
- 返回一个继承于Grouper的匿名对象的lambda表达式((a) -> new Grouper(){...}),初始化段{...}内编写需要加入到Group的字段(强制要求参数为lambda表达式,不可以是方法引用以及匿名对象)public <Key extends Grouper> GroupedQuery8<? extends Key,T1,T2,T3,T4,T5,T6,T7,T8> groupBy(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,Key>> expr)
public <R> EndQuery<R> select(java.lang.Class<R> r)
public <R extends Result> LQuery<? extends R> select(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R> expr)
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
R
- Resultexpr
- 返回一个继承于Result的匿名对象的lambda表达式((a) -> new Result(){...}),初始化段{...}内编写需要select的字段(强制要求参数为lambda表达式,不可以是方法引用以及匿名对象)public <R extends Result> LQuery<? extends R> select(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R>> expr)
public <R> EndQuery<R> endSelect(io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R> expr)
注意:此函数的ExprTree[func类型]版本为真正被调用的函数
expr
- 返回一个值的lambda表达式(强制要求参数为lambda表达式,不可以是方法引用以及匿名对象)public <R> EndQuery<R> endSelect(io.github.kiryu1223.expressionTree.expressions.ExprTree<io.github.kiryu1223.expressionTree.delegate.Func8<T1,T2,T3,T4,T5,T6,T7,T8,R>> expr)