您的浏览器已禁用 JavaScript。
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
A
C
D
G
H
I
M
N
O
P
R
S
T
V
A
AbstractParser
-
com.github.pagehelper.parser.impl
中的类
AbstractParser()
- 类 的构造器com.github.pagehelper.parser.impl.
AbstractParser
C
clearLocalPage()
- 类 中的静态方法com.github.pagehelper.
SqlUtil
移除本地变量
com.github.pagehelper
- 程序包 com.github.pagehelper
com.github.pagehelper.parser
- 程序包 com.github.pagehelper.parser
com.github.pagehelper.parser.impl
- 程序包 com.github.pagehelper.parser.impl
com.github.pagehelper.sqlsource
- 程序包 com.github.pagehelper.sqlsource
Constant
-
com.github.pagehelper
中的接口
convertToPageSql(String, int, int)
- 类 中的方法com.github.pagehelper.parser.
SqlServer
转换为分页语句
count(Boolean)
- 类 中的方法com.github.pagehelper.
Page
是否执行count查询
D
Db2Parser
-
com.github.pagehelper.parser.impl
中的类
Db2Parser()
- 类 的构造器com.github.pagehelper.parser.impl.
Db2Parser
Dialect
-
com.github.pagehelper
中的枚举
G
getBoundSql(Object)
- 类 中的方法com.github.pagehelper.sqlsource.
PageDynamicSqlSource
getBoundSql(Object)
- 类 中的方法com.github.pagehelper.sqlsource.
PageProviderSqlSource
getCountSql(String)
- 类 中的方法com.github.pagehelper.parser.impl.
AbstractParser
getCountSql(String)
- 接口 中的方法com.github.pagehelper.parser.
Parser
获取总数sql - 如果要支持其他数据库,修改这里就可以
getEndRow()
- 类 中的方法com.github.pagehelper.
Page
getEndRow()
- 类 中的方法com.github.pagehelper.
PageInfo
getFirstPage()
- 类 中的方法com.github.pagehelper.
PageInfo
getLastPage()
- 类 中的方法com.github.pagehelper.
PageInfo
getList()
- 类 中的方法com.github.pagehelper.
PageInfo
getLocalPage()
- 类 中的静态方法com.github.pagehelper.
SqlUtil
获取Page参数
getMappedStatement(MappedStatement, SqlSource, Object, String)
- 类 中的方法com.github.pagehelper.
MSUtils
获取ms - 在这里对新建的ms做了缓存,第一次新增,后面都会使用缓存值
getNavigatepageNums()
- 类 中的方法com.github.pagehelper.
PageInfo
getNavigatePages()
- 类 中的方法com.github.pagehelper.
PageInfo
getNextPage()
- 类 中的方法com.github.pagehelper.
PageInfo
getPage(Object)
- 类 中的方法com.github.pagehelper.
SqlUtil
获取分页参数
getPageFromObject(Object)
- 类 中的静态方法com.github.pagehelper.
SqlUtil
对象中获取分页参数
getPageNum()
- 类 中的方法com.github.pagehelper.
Page
getPageNum()
- 类 中的方法com.github.pagehelper.
PageInfo
getPageParameterMapping(Configuration, BoundSql)
- 类 中的方法com.github.pagehelper.parser.impl.
AbstractParser
getPageParameterMapping(Configuration, BoundSql)
- 类 中的方法com.github.pagehelper.parser.impl.
InformixParser
getPageParameterMapping(Configuration, BoundSql)
- 类 中的方法com.github.pagehelper.parser.impl.
SqlServerParser
getPageParameterMapping(Configuration, BoundSql)
- 接口 中的方法com.github.pagehelper.parser.
Parser
获取分页参数映射
getPages()
- 类 中的方法com.github.pagehelper.
Page
getPages()
- 类 中的方法com.github.pagehelper.
PageInfo
getPageSize()
- 类 中的方法com.github.pagehelper.
Page
getPageSize()
- 类 中的方法com.github.pagehelper.
PageInfo
getPageSizeZero()
- 类 中的方法com.github.pagehelper.
Page
getPageSql(String)
- 类 中的方法com.github.pagehelper.parser.impl.
AbstractParser
getPageSql(String)
- 类 中的方法com.github.pagehelper.parser.impl.
Db2Parser
getPageSql(String)
- 类 中的方法com.github.pagehelper.parser.impl.
HsqldbParser
getPageSql(String)
- 类 中的方法com.github.pagehelper.parser.impl.
InformixParser
getPageSql(String)
- 类 中的方法com.github.pagehelper.parser.impl.
MysqlParser
getPageSql(String)
- 类 中的方法com.github.pagehelper.parser.impl.
OracleParser
getPageSql(String)
- 类 中的方法com.github.pagehelper.parser.impl.
PostgreSQLParser
getPageSql(String)
- 类 中的方法com.github.pagehelper.parser.impl.
SqlServerParser
getPageSql(String)
- 接口 中的方法com.github.pagehelper.parser.
Parser
获取分页sql - 如果要支持其他数据库,修改这里就可以
getParamValue(MetaObject, String, boolean)
- 类 中的静态方法com.github.pagehelper.
SqlUtil
从对象中取参数
getPrePage()
- 类 中的方法com.github.pagehelper.
PageInfo
getReasonable()
- 类 中的方法com.github.pagehelper.
Page
getResult()
- 类 中的方法com.github.pagehelper.
Page
getSimpleCountSql(String)
- 类 中的方法com.github.pagehelper.parser.
SqlParser
获取普通的Count-sql
getSize()
- 类 中的方法com.github.pagehelper.
PageInfo
getSmartCountSql(String)
- 类 中的方法com.github.pagehelper.parser.
SqlParser
获取智能的countSql
getsqlSource(MappedStatement, SqlSource, Object, boolean)
- 类 中的方法com.github.pagehelper.
MSUtils
获取新的sqlSource
getStartRow()
- 类 中的方法com.github.pagehelper.
Page
getStartRow()
- 类 中的方法com.github.pagehelper.
PageInfo
getStaticCountSqlSource(Configuration, SqlSource, Object)
- 类 中的方法com.github.pagehelper.
MSUtils
获取静态的count的SqlSource
getStaticPageSqlSource(Configuration, SqlSource, Object)
- 类 中的方法com.github.pagehelper.
MSUtils
获取静态的分页SqlSource
ParameterMappings需要增加分页参数的映射
getTotal()
- 类 中的方法com.github.pagehelper.
Page
getTotal()
- 类 中的方法com.github.pagehelper.
PageInfo
H
HsqldbParser
-
com.github.pagehelper.parser.impl
中的类
HsqldbParser()
- 类 的构造器com.github.pagehelper.parser.impl.
HsqldbParser
I
InformixParser
-
com.github.pagehelper.parser.impl
中的类
InformixParser()
- 类 的构造器com.github.pagehelper.parser.impl.
InformixParser
intercept(Invocation)
- 类 中的方法com.github.pagehelper.
PageHelper
Mybatis拦截器方法
isCount()
- 类 中的方法com.github.pagehelper.
Page
isHasNextPage()
- 类 中的方法com.github.pagehelper.
PageInfo
isHasPreviousPage()
- 类 中的方法com.github.pagehelper.
PageInfo
isIsFirstPage()
- 类 中的方法com.github.pagehelper.
PageInfo
isIsLastPage()
- 类 中的方法com.github.pagehelper.
PageInfo
isSimpleCount(PlainSelect)
- 类 中的方法com.github.pagehelper.parser.
SqlParser
是否可以用简单的count查询方式
isSupportedMappedStatementCache()
- 类 中的方法com.github.pagehelper.parser.impl.
AbstractParser
isSupportedMappedStatementCache()
- 类 中的方法com.github.pagehelper.parser.impl.
SqlServerParser
isSupportedMappedStatementCache()
- 接口 中的方法com.github.pagehelper.parser.
Parser
是否支持MappedStatement全局缓存
isSupportedSql(String)
- 类 中的方法com.github.pagehelper.parser.
SqlParser
M
MSUtils
-
com.github.pagehelper
中的类
创建新的MappedStatement
MSUtils(Parser)
- 类 的构造器com.github.pagehelper.
MSUtils
MysqlParser
-
com.github.pagehelper.parser.impl
中的类
MysqlParser()
- 类 的构造器com.github.pagehelper.parser.impl.
MysqlParser
N
newMappedStatement(MappedStatement, SqlSource, String)
- 类 中的方法com.github.pagehelper.
MSUtils
新建count查询和分页查询的MappedStatement
newParser(Dialect)
- 类 中的静态方法com.github.pagehelper.parser.impl.
AbstractParser
O
of(String)
- 枚举 中的静态方法com.github.pagehelper.
Dialect
OracleParser
-
com.github.pagehelper.parser.impl
中的类
OracleParser()
- 类 的构造器com.github.pagehelper.parser.impl.
OracleParser
orderByHashParameters(List<OrderByElement>)
- 类 中的方法com.github.pagehelper.parser.
SqlParser
判断Orderby是否包含参数,有参数的不能去
ORIGINAL_PARAMETER_OBJECT
- 接口 中的静态变量com.github.pagehelper.
Constant
P
Page
<
E
> -
com.github.pagehelper
中的类
Mybatis - 分页对象
Page()
- 类 的构造器com.github.pagehelper.
Page
Page(int, int)
- 类 的构造器com.github.pagehelper.
Page
Page(int, int, boolean)
- 类 的构造器com.github.pagehelper.
Page
Page(RowBounds, boolean)
- 类 的构造器com.github.pagehelper.
Page
Page(RowBounds, int)
- 类 的构造器com.github.pagehelper.
Page
PAGE_TABLE_ALIAS
- 类 中的静态变量com.github.pagehelper.parser.
SqlServer
PageDynamicSqlSource
-
com.github.pagehelper.sqlsource
中的类
PageDynamicSqlSource(MSUtils, Configuration, SqlNode, Boolean)
- 类 的构造器com.github.pagehelper.sqlsource.
PageDynamicSqlSource
PageHelper
-
com.github.pagehelper
中的类
Mybatis - 通用分页拦截器
PageHelper()
- 类 的构造器com.github.pagehelper.
PageHelper
PageInfo
<
T
> -
com.github.pagehelper
中的类
对Page
结果进行包装
新增分页的多项属性,主要参考:http://bbs.csdn.net/topics/360010907
PageInfo()
- 类 的构造器com.github.pagehelper.
PageInfo
PageInfo(List<T>)
- 类 的构造器com.github.pagehelper.
PageInfo
包装Page对象
PageInfo(List<T>, int)
- 类 的构造器com.github.pagehelper.
PageInfo
包装Page对象
pageNum(int)
- 类 中的方法com.github.pagehelper.
Page
设置页码
PAGEPARAMETER_FIRST
- 接口 中的静态变量com.github.pagehelper.
Constant
PAGEPARAMETER_SECOND
- 接口 中的静态变量com.github.pagehelper.
Constant
PageProviderSqlSource
-
com.github.pagehelper.sqlsource
中的类
PageProviderSqlSource(Parser, Configuration, ProviderSqlSource, Boolean)
- 类 的构造器com.github.pagehelper.sqlsource.
PageProviderSqlSource
pageSize(int)
- 类 中的方法com.github.pagehelper.
Page
设置页面大小
pageSizeZero(Boolean)
- 类 中的方法com.github.pagehelper.
Page
当设置为true的时候,如果pagesize设置为0(或RowBounds的limit=0),就不执行分页,返回全部结果
Parser
-
com.github.pagehelper.parser
中的接口
处理SQL
plugin(Object)
- 类 中的方法com.github.pagehelper.
PageHelper
只拦截Executor
PostgreSQLParser
-
com.github.pagehelper.parser.impl
中的类
PostgreSQLParser()
- 类 的构造器com.github.pagehelper.parser.impl.
PostgreSQLParser
processCountMappedStatement(MappedStatement, SqlSource, Object[])
- 类 中的方法com.github.pagehelper.
MSUtils
处理count查询的MappedStatement
processFromItem(FromItem)
- 类 中的方法com.github.pagehelper.parser.
SqlParser
处理子查询
processPage(Invocation)
- 类 中的方法com.github.pagehelper.
SqlUtil
Mybatis拦截器方法
processPageMappedStatement(MappedStatement, SqlSource, Page, Object[])
- 类 中的方法com.github.pagehelper.
MSUtils
处理分页查询的MappedStatement
processPlainSelect(PlainSelect)
- 类 中的方法com.github.pagehelper.parser.
SqlParser
处理PlainSelect类型的selectBody
processSelectBody(SelectBody)
- 类 中的方法com.github.pagehelper.parser.
SqlParser
处理selectBody去除Order by
processWithItemsList(List<WithItem>)
- 类 中的方法com.github.pagehelper.parser.
SqlParser
处理WithItem
PROVIDER_OBJECT
- 接口 中的静态变量com.github.pagehelper.
Constant
R
reasonable(Boolean)
- 类 中的方法com.github.pagehelper.
Page
设置合理化
S
setEndRow(int)
- 类 中的方法com.github.pagehelper.
PageInfo
setFirstPage(int)
- 类 中的方法com.github.pagehelper.
PageInfo
setHasNextPage(boolean)
- 类 中的方法com.github.pagehelper.
PageInfo
setHasPreviousPage(boolean)
- 类 中的方法com.github.pagehelper.
PageInfo
setIsFirstPage(boolean)
- 类 中的方法com.github.pagehelper.
PageInfo
setIsLastPage(boolean)
- 类 中的方法com.github.pagehelper.
PageInfo
setLastPage(int)
- 类 中的方法com.github.pagehelper.
PageInfo
setList(List<T>)
- 类 中的方法com.github.pagehelper.
PageInfo
setLocalPage(Page)
- 类 中的静态方法com.github.pagehelper.
SqlUtil
setNavigatepageNums(int[])
- 类 中的方法com.github.pagehelper.
PageInfo
setNavigatePages(int)
- 类 中的方法com.github.pagehelper.
PageInfo
setNextPage(int)
- 类 中的方法com.github.pagehelper.
PageInfo
setPageNum(int)
- 类 中的方法com.github.pagehelper.
Page
setPageNum(int)
- 类 中的方法com.github.pagehelper.
PageInfo
setPageParameter(MappedStatement, Object, Page)
- 类 中的方法com.github.pagehelper.
MSUtils
设置分页参数
setPageParameter(MappedStatement, Object, BoundSql, Page)
- 类 中的方法com.github.pagehelper.parser.impl.
AbstractParser
setPageParameter(MappedStatement, Object, BoundSql, Page)
- 类 中的方法com.github.pagehelper.parser.impl.
Db2Parser
setPageParameter(MappedStatement, Object, BoundSql, Page)
- 类 中的方法com.github.pagehelper.parser.impl.
HsqldbParser
setPageParameter(MappedStatement, Object, BoundSql, Page)
- 类 中的方法com.github.pagehelper.parser.impl.
InformixParser
setPageParameter(MappedStatement, Object, BoundSql, Page)
- 类 中的方法com.github.pagehelper.parser.impl.
MysqlParser
setPageParameter(MappedStatement, Object, BoundSql, Page)
- 类 中的方法com.github.pagehelper.parser.impl.
OracleParser
setPageParameter(MappedStatement, Object, BoundSql, Page)
- 类 中的方法com.github.pagehelper.parser.impl.
PostgreSQLParser
setPageParameter(MappedStatement, Object, BoundSql, Page)
- 类 中的方法com.github.pagehelper.parser.impl.
SqlServerParser
setPageParameter(MappedStatement, Object, BoundSql, Page)
- 接口 中的方法com.github.pagehelper.parser.
Parser
设置分页参数
setPages(int)
- 类 中的方法com.github.pagehelper.
PageInfo
setPageSize(int)
- 类 中的方法com.github.pagehelper.
Page
setPageSize(int)
- 类 中的方法com.github.pagehelper.
PageInfo
setPageSizeZero(Boolean)
- 类 中的方法com.github.pagehelper.
Page
setPrePage(int)
- 类 中的方法com.github.pagehelper.
PageInfo
setProperties(Properties)
- 类 中的方法com.github.pagehelper.
PageHelper
设置属性值
setProperties(Properties)
- 类 中的方法com.github.pagehelper.
SqlUtil
setReasonable(Boolean)
- 类 中的方法com.github.pagehelper.
Page
setSize(int)
- 类 中的方法com.github.pagehelper.
PageInfo
setStartRow(int)
- 类 中的方法com.github.pagehelper.
PageInfo
setTotal(long)
- 类 中的方法com.github.pagehelper.
Page
setTotal(long)
- 类 中的方法com.github.pagehelper.
PageInfo
sqlParser
- 类 中的静态变量com.github.pagehelper.parser.impl.
AbstractParser
SqlParser
-
com.github.pagehelper.parser
中的类
sql解析类,提供更智能的count查询sql
SqlParser()
- 类 的构造器com.github.pagehelper.parser.
SqlParser
SqlServer
-
com.github.pagehelper.parser
中的类
将sqlserver查询语句转换为分页语句
注意事项:
请先保证你的SQL可以执行 sql中最好直接包含order by,可以自动从sql提取 如果没有order by,可以通过入参提供,但是需要自己保证正确 如果sql有order by,可以通过orderby参数覆盖sql中的order by order by的列名不能使用别名 表和列使用别名的时候不要使用单引号(') 该类设计为一个独立的工具类,依赖jsqlparser,可以独立使用
SqlServer()
- 类 的构造器com.github.pagehelper.parser.
SqlServer
SqlServerParser
-
com.github.pagehelper.parser.impl
中的类
SqlServerParser()
- 类 的构造器com.github.pagehelper.parser.impl.
SqlServerParser
sqlToCount(Select)
- 类 中的方法com.github.pagehelper.parser.
SqlParser
将sql转换为count查询
SqlUtil
-
com.github.pagehelper
中的类
Mybatis - sql工具,获取分页和count的MappedStatement,设置分页参数
SqlUtil(String)
- 类 的构造器com.github.pagehelper.
SqlUtil
构造方法
startPage(int, int)
- 类 中的静态方法com.github.pagehelper.
PageHelper
开始分页
startPage(int, int, boolean)
- 类 中的静态方法com.github.pagehelper.
PageHelper
开始分页
startPage(int, int, boolean, Boolean)
- 类 中的静态方法com.github.pagehelper.
PageHelper
开始分页
startPage(int, int, boolean, Boolean, Boolean)
- 类 中的静态方法com.github.pagehelper.
PageHelper
开始分页
startPage(Object)
- 类 中的静态方法com.github.pagehelper.
PageHelper
开始分页
SUFFIX_COUNT
- 接口 中的静态变量com.github.pagehelper.
Constant
SUFFIX_PAGE
- 接口 中的静态变量com.github.pagehelper.
Constant
T
testSql(String, String)
- 类 中的静态方法com.github.pagehelper.
SqlUtil
测试[控制台输出]count和分页sql
testSql(Dialect, String)
- 类 中的静态方法com.github.pagehelper.
SqlUtil
测试[控制台输出]count和分页sql
toString()
- 类 中的方法com.github.pagehelper.
Page
toString()
- 类 中的方法com.github.pagehelper.
PageInfo
V
valueOf(String)
- 枚举 中的静态方法com.github.pagehelper.
Dialect
返回带有指定名称的该类型的枚举常量。
values()
- 枚举 中的静态方法com.github.pagehelper.
Dialect
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
A
C
D
G
H
I
M
N
O
P
R
S
T
V
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
Copyright © 2015. All rights reserved.