C G I O P R
C
- com.github.dreamroute.pager.starter.anno - 程序包 com.github.dreamroute.pager.starter.anno
-
- com.github.dreamroute.pager.starter.api - 程序包 com.github.dreamroute.pager.starter.api
-
- com.github.dreamroute.pager.starter.exception - 程序包 com.github.dreamroute.pager.starter.exception
-
- com.github.dreamroute.pager.starter.interceptor - 程序包 com.github.dreamroute.pager.starter.interceptor
-
G
- getOriginObj(T) - 类 中的静态方法com.github.dreamroute.pager.starter.interceptor.ProxyUtil
-
Recursive get the original target object.
I
- ID - 类 中的静态变量com.github.dreamroute.pager.starter.anno.PagerContainer
-
- intercept(Invocation) - 类 中的方法com.github.dreamroute.pager.starter.interceptor.PagerInterceptor
-
O
- onApplicationEvent(ContextRefreshedEvent) - 类 中的方法com.github.dreamroute.pager.starter.interceptor.PagerInterceptor
-
Spring启动完毕之后,就将需要分页的Mapper抽取出来,存入缓存
P
- page(T, Function<T, List<R>>) - 类 中的静态方法com.github.dreamroute.pager.starter.api.Pager
-
调用此方法,就能获取到分页信息
- Pager - com.github.dreamroute.pager.starter.anno中的注释类型
-
分页相关配置
- Pager - com.github.dreamroute.pager.starter.api中的类
-
查询辅助工具类
- PagerContainer - com.github.dreamroute.pager.starter.anno中的类
-
包裹@Pager的属性
- PagerContainer() - 类 的构造器com.github.dreamroute.pager.starter.anno.PagerContainer
-
- PageRequest - com.github.dreamroute.pager.starter.api中的类
-
分页请求
- PageRequest() - 类 的构造器com.github.dreamroute.pager.starter.api.PageRequest
-
- PageResponse<T> - com.github.dreamroute.pager.starter.api中的类
-
分页结果
- PageResponse() - 类 的构造器com.github.dreamroute.pager.starter.api.PageResponse
-
- PagerInterceptor - com.github.dreamroute.pager.starter.interceptor中的类
-
分页插件,原理:通过注解标注需要分页的接口方法,拦截该方法,抽取原生sql,然后做3个动作:
1、根据原生sql语句生成一个统计的sql,并且执行查询,获得统计结果;
2、改写原生sql,加上分页参数,执行查询操作,获取查询结果;
3、将上述两个结果封装成分页结果;
- PagerInterceptor() - 类 的构造器com.github.dreamroute.pager.starter.interceptor.PagerInterceptor
-
- PaggerException - com.github.dreamroute.pager.starter.exception中的异常错误
-
异常
- PaggerException() - 异常错误 的构造器com.github.dreamroute.pager.starter.exception.PaggerException
-
- PaggerException(String) - 异常错误 的构造器com.github.dreamroute.pager.starter.exception.PaggerException
-
- PaggerException(String, Throwable) - 异常错误 的构造器com.github.dreamroute.pager.starter.exception.PaggerException
-
- ProxyUtil - com.github.dreamroute.pager.starter.interceptor中的类
-
R
- ResultWrapper<E> - com.github.dreamroute.pager.starter.interceptor中的类
-
- ResultWrapper() - 类 的构造器com.github.dreamroute.pager.starter.interceptor.ResultWrapper
-
C G I O P R
Copyright © 2022. All rights reserved.