public interface Func<T,R>
| 限定符和类型 | 方法和说明 |
|---|---|
R |
asc(List<net.hasor.utils.reflect.SFunction<T>> columns)
排序(升序),类似:order by xxx desc
|
default R |
asc(net.hasor.utils.reflect.SFunction<T> column)
排序(升序),类似:order by xxx desc
|
R |
desc(List<net.hasor.utils.reflect.SFunction<T>> columns)
排序(降序),类似:order by xxx desc
|
default R |
desc(net.hasor.utils.reflect.SFunction<T> column)
排序(降序),类似:order by xxx desc
|
R |
groupBy(List<net.hasor.utils.reflect.SFunction<T>> columns)
分组,类似:group by xxx
|
default R |
groupBy(net.hasor.utils.reflect.SFunction<T> column)
分组,类似:group by xxx
|
R |
initPage(int pageSize,
int pageNumber)
生成分页对象
|
R |
orderBy(List<net.hasor.utils.reflect.SFunction<T>> columns)
排序,类似:order by xxx
|
default R |
orderBy(net.hasor.utils.reflect.SFunction<T> column)
排序,类似:order by xxx
|
Page |
pageInfo()
获取对应的分页对象
|
R |
select(List<net.hasor.utils.reflect.SFunction<T>> columns)
查询指定列。
|
R |
select(Predicate<FieldInfo> tester)
按条件过滤查询指定列。
|
default R |
select(net.hasor.utils.reflect.SFunction<T> column)
查询指定列。
|
R |
select(String... columns)
查询指定列。
|
R |
selectAll()
查询指定列。
|
R |
usePage(Page pageInfo)
设置分页信息
|
R selectAll()
default R select(net.hasor.utils.reflect.SFunction<T> column)
R select(List<net.hasor.utils.reflect.SFunction<T>> columns)
default R groupBy(net.hasor.utils.reflect.SFunction<T> column)
R groupBy(List<net.hasor.utils.reflect.SFunction<T>> columns)
default R orderBy(net.hasor.utils.reflect.SFunction<T> column)
R orderBy(List<net.hasor.utils.reflect.SFunction<T>> columns)
default R asc(net.hasor.utils.reflect.SFunction<T> column)
R asc(List<net.hasor.utils.reflect.SFunction<T>> columns)
default R desc(net.hasor.utils.reflect.SFunction<T> column)
R desc(List<net.hasor.utils.reflect.SFunction<T>> columns)
Page pageInfo()
R initPage(int pageSize, int pageNumber)
Copyright © 2020–2021. All rights reserved.