@Signature(type=org.apache.ibatis.executor.Executor.class,method="query",args={org.apache.ibatis.mapping.MappedStatement.class,java.lang.Object.class,org.apache.ibatis.session.RowBounds.class,org.apache.ibatis.session.ResultHandler.class}) @Signature(type=org.apache.ibatis.executor.Executor.class,method="query",args={org.apache.ibatis.mapping.MappedStatement.class,java.lang.Object.class,org.apache.ibatis.session.RowBounds.class,org.apache.ibatis.session.ResultHandler.class,org.apache.ibatis.cache.CacheKey.class,org.apache.ibatis.mapping.BoundSql.class})
public class PageInterceptor
extends Object
implements org.apache.ibatis.plugin.Interceptor
GitHub: https://github.com/pagehelper/Mybatis-PageHelper
Gitee : https://gitee.com/free/Mybatis_PageHelper
| Modifier and Type | Field and Description |
|---|---|
protected CountMsIdGen |
countMsIdGen |
protected Cache<String,org.apache.ibatis.mapping.MappedStatement> |
msCountMap |
| Constructor and Description |
|---|
PageInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
debugStackTraceLog()
输出启用分页方法时的调用堆栈信息
|
Object |
intercept(org.apache.ibatis.plugin.Invocation invocation) |
static boolean |
isDebug() |
Object |
plugin(Object target) |
void |
setProperties(Properties properties) |
protected CountMsIdGen countMsIdGen
public static boolean isDebug()
protected void debugStackTraceLog()
public Object intercept(org.apache.ibatis.plugin.Invocation invocation) throws Throwable
intercept in interface org.apache.ibatis.plugin.InterceptorThrowablepublic Object plugin(Object target)
plugin in interface org.apache.ibatis.plugin.Interceptorpublic void setProperties(Properties properties)
setProperties in interface org.apache.ibatis.plugin.InterceptorCopyright © 2023. All rights reserved.