public class LambdaQueryWrapper<T> extends AbstractQueryCompare<T,LambdaOperations.LambdaQuery<T>> implements LambdaOperations.LambdaQuery<T>
queryParam, queryTemplatedbType| 构造器和说明 |
|---|
LambdaQueryWrapper(TableMapping<T> tableMapping,
LambdaTemplate jdbcTemplate) |
| 限定符和类型 | 方法和说明 |
|---|---|
LambdaOperations.LambdaQuery<T> |
asc(net.hasor.cobble.reflect.SFunction<T>... properties)
排序(升序),类似:order by xxx desc
|
LambdaOperations.LambdaQuery<T> |
desc(net.hasor.cobble.reflect.SFunction<T>... properties)
排序(降序),类似:order by xxx desc
|
BoundSql |
getOriginalBoundSql() |
protected LambdaOperations.LambdaQuery<T> |
getSelf() |
LambdaOperations.LambdaQuery<T> |
groupBy(net.hasor.cobble.reflect.SFunction<T>... properties)
分组,类似:group by xxx
|
LambdaOperations.LambdaQuery<T> |
initPage(int pageSize,
int pageNumber)
生成分页对象
|
protected void |
lockGroupBy() |
protected void |
lockOrderBy() |
LambdaOperations.LambdaQuery<T> |
orderBy(net.hasor.cobble.reflect.SFunction<T>... properties)
排序,类似:order by xxx
|
LambdaOperations.LambdaQuery<T> |
select(net.hasor.cobble.reflect.SFunction<T>... properties)
查询属性
在分组查询下:设置参数中,只有 group by 列才会被查询。
|
LambdaOperations.LambdaQuery<T> |
select(String... columns)
查询属性
在分组查询下:设置参数中,只有 group by 列才会被查询。
|
LambdaOperations.LambdaQuery<T> |
selectAll()
查询所有列
在分组查询下:返回所有分组列
|
protected boolean |
supportPage()
由于 pageInfo 是在高层 QueryExecute 实现中提供的能力,因此提供一个开关。
|
LambdaOperations.LambdaQuery<T> |
usePage(Page pageInfo)
设置分页信息
|
QueryExecute<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, waitexampleTypequery, query, query, queryForCount, queryForLargeCount, queryForList, queryForMap, queryForMapList, queryForObject, wrapperType, wrapperTypegetBoundSql, 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, orpublic LambdaQueryWrapper(TableMapping<T> tableMapping, LambdaTemplate jdbcTemplate)
protected boolean supportPage()
AbstractQueryExecutesupportPage 在类中 AbstractQueryExecute<T>public BoundSql getOriginalBoundSql()
protected void lockGroupBy()
protected void lockOrderBy()
protected LambdaOperations.LambdaQuery<T> getSelf()
getSelf 在类中 AbstractQueryCompare<T,LambdaOperations.LambdaQuery<T>>public QueryExecute<T> useQualifier()
useQualifier 在接口中 LambdaOperations.LambdaCommon<QueryExecute<T>,T>public LambdaOperations.LambdaQuery<T> selectAll()
QueryFuncselectAll 在接口中 QueryFunc<T,LambdaOperations.LambdaQuery<T>>public final LambdaOperations.LambdaQuery<T> select(net.hasor.cobble.reflect.SFunction<T>... properties)
QueryFuncselect 在接口中 QueryFunc<T,LambdaOperations.LambdaQuery<T>>public LambdaOperations.LambdaQuery<T> select(String... columns)
QueryFuncselect 在接口中 QueryFunc<T,LambdaOperations.LambdaQuery<T>>public final LambdaOperations.LambdaQuery<T> groupBy(net.hasor.cobble.reflect.SFunction<T>... properties)
QueryFuncgroupBy 在接口中 QueryFunc<T,LambdaOperations.LambdaQuery<T>>public LambdaOperations.LambdaQuery<T> orderBy(net.hasor.cobble.reflect.SFunction<T>... properties)
QueryFuncorderBy 在接口中 QueryFunc<T,LambdaOperations.LambdaQuery<T>>public LambdaOperations.LambdaQuery<T> asc(net.hasor.cobble.reflect.SFunction<T>... properties)
QueryFuncasc 在接口中 QueryFunc<T,LambdaOperations.LambdaQuery<T>>public LambdaOperations.LambdaQuery<T> desc(net.hasor.cobble.reflect.SFunction<T>... properties)
QueryFuncdesc 在接口中 QueryFunc<T,LambdaOperations.LambdaQuery<T>>public LambdaOperations.LambdaQuery<T> usePage(Page pageInfo)
QueryFuncusePage 在接口中 QueryFunc<T,LambdaOperations.LambdaQuery<T>>public LambdaOperations.LambdaQuery<T> initPage(int pageSize, int pageNumber)
QueryFuncinitPage 在接口中 QueryFunc<T,LambdaOperations.LambdaQuery<T>>Copyright © 2021. All rights reserved.