C G I N O P R S T V 

C

com.github.pagehelper - 程序包 com.github.pagehelper
 
convertToPageSql(String, int, int) - 类 中的方法com.github.pagehelper.SqlServer
转换为分页语句
convertToPageSql(String, int, int, String) - 类 中的方法com.github.pagehelper.SqlServer
转换为分页语句
count(Boolean) - 类 中的方法com.github.pagehelper.Page
是否执行count查询

G

getCountSql(String) - 接口 中的方法com.github.pagehelper.SqlUtil.Parser
获取总数sql - 如果要支持其他数据库,修改这里就可以
getCountSql(String) - 类 中的方法com.github.pagehelper.SqlUtil.SimpleParser
 
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
 
getNavigatepageNums() - 类 中的方法com.github.pagehelper.PageInfo
 
getNavigatePages() - 类 中的方法com.github.pagehelper.PageInfo
 
getNextPage() - 类 中的方法com.github.pagehelper.PageInfo
 
getOrderBy() - 类 中的方法com.github.pagehelper.Page
 
getPage(Object) - 类 中的方法com.github.pagehelper.SqlUtil
获取分页参数
getPageFromObject(Object) - 类 中的静态方法com.github.pagehelper.SqlUtil
从request或Map中获取分页参数
getPageNum() - 类 中的方法com.github.pagehelper.Page
 
getPageNum() - 类 中的方法com.github.pagehelper.PageInfo
 
getPageParameterMapping(Configuration, BoundSql) - 接口 中的方法com.github.pagehelper.SqlUtil.Parser
获取分页参数映射
getPageParameterMapping(Configuration, BoundSql) - 类 中的方法com.github.pagehelper.SqlUtil.SimpleParser
 
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.SqlUtil.Parser
获取分页sql - 如果要支持其他数据库,修改这里就可以
getPageSql(String) - 类 中的方法com.github.pagehelper.SqlUtil.SimpleParser
 
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.SqlParser
获取普通的Count-sql
getSize() - 类 中的方法com.github.pagehelper.PageInfo
 
getSmartCountSql(String) - 类 中的方法com.github.pagehelper.SqlParser
获取智能的countSql
getStartRow() - 类 中的方法com.github.pagehelper.Page
 
getStartRow() - 类 中的方法com.github.pagehelper.PageInfo
 
getTotal() - 类 中的方法com.github.pagehelper.Page
 
getTotal() - 类 中的方法com.github.pagehelper.PageInfo
 

I

intercept(Invocation) - 类 中的方法com.github.pagehelper.PageHelper
Mybatis拦截器方法
isCount() - 类 中的方法com.github.pagehelper.Page
 
isDynamic(MappedStatement) - 类 中的方法com.github.pagehelper.SqlUtil
判断当前执行的是否为动态sql
isHasNextPage() - 类 中的方法com.github.pagehelper.PageInfo
 
isHasPreviousPage() - 类 中的方法com.github.pagehelper.PageInfo
 
isIsFirstPage() - 类 中的方法com.github.pagehelper.PageInfo
 
isIsLastPage() - 类 中的方法com.github.pagehelper.PageInfo
 
isSupportedMappedStatementCache() - 接口 中的方法com.github.pagehelper.SqlUtil.Parser
是否支持MappedStatement全局缓存
isSupportedMappedStatementCache() - 类 中的方法com.github.pagehelper.SqlUtil.SimpleParser
 
isSupportedSql(String) - 类 中的方法com.github.pagehelper.SqlParser
 

N

newParser(SqlUtil.Dialect) - 类 中的静态方法com.github.pagehelper.SqlUtil.SimpleParser
 

O

orderBy(String) - 类 中的方法com.github.pagehelper.Page
针对sqlserver有效
orderByHashParameters(List<OrderByElement>) - 类 中的方法com.github.pagehelper.SqlParser
判断Orderby是否包含参数,有参数的不能去

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.SqlServer
 
PageHelper - com.github.pagehelper中的类
Mybatis - 通用分页拦截器
PageHelper() - 类 的构造器com.github.pagehelper.PageHelper
 
PageInfo<T> - com.github.pagehelper中的类
对Page结果进行包装

新增分页的多项属性,主要参考:http://bbs.csdn.net/topics/360010907

PageInfo(List<T>) - 类 的构造器com.github.pagehelper.PageInfo
包装Page对象
PageInfo(List<T>, int) - 类 的构造器com.github.pagehelper.PageInfo
包装Page对象
pageNum(int) - 类 中的方法com.github.pagehelper.Page
设置页码
pageSize(int) - 类 中的方法com.github.pagehelper.Page
设置页面大小
pageSizeZero(Boolean) - 类 中的方法com.github.pagehelper.Page
当设置为true的时候,如果pagesize设置为0(或RowBounds的limit=0),就不执行分页,返回全部结果
plugin(Object) - 类 中的方法com.github.pagehelper.PageHelper
只拦截Executor
processCountMappedStatement(MappedStatement, SqlSource, Object[]) - 类 中的方法com.github.pagehelper.SqlUtil
处理count查询的MappedStatement
processFromItem(FromItem) - 类 中的方法com.github.pagehelper.SqlParser
处理子查询
processPage(Invocation) - 类 中的方法com.github.pagehelper.SqlUtil
Mybatis拦截器方法
processPageMappedStatement(MappedStatement, SqlSource, Page, Object[]) - 类 中的方法com.github.pagehelper.SqlUtil
处理分页查询的MappedStatement
processPlainSelect(PlainSelect) - 类 中的方法com.github.pagehelper.SqlParser
处理PlainSelect类型的selectBody
processSelectBody(SelectBody) - 类 中的方法com.github.pagehelper.SqlParser
处理selectBody去除Order by
processWithItemsList(List<WithItem>) - 类 中的方法com.github.pagehelper.SqlParser
处理WithItem

R

reasonable(Boolean) - 类 中的方法com.github.pagehelper.Page
设置合理化

S

selectItemsHashParameters(List<SelectItem>) - 类 中的方法com.github.pagehelper.SqlParser
判断selectItems是否包含参数,有参数的不能去
setLocalPage(Page) - 类 中的静态方法com.github.pagehelper.SqlUtil
 
setPageNum(int) - 类 中的方法com.github.pagehelper.Page
 
setPageNum(int) - 类 中的方法com.github.pagehelper.PageInfo
 
setPageParameter(MappedStatement, Object, BoundSql, Page) - 接口 中的方法com.github.pagehelper.SqlUtil.Parser
设置分页参数
setPageParameter(MappedStatement, Object, Page) - 类 中的方法com.github.pagehelper.SqlUtil
设置分页参数
setPageParameter(MappedStatement, Object, BoundSql, Page) - 类 中的方法com.github.pagehelper.SqlUtil.SimpleParser
 
setPageSize(int) - 类 中的方法com.github.pagehelper.Page
 
setPageSizeZero(Boolean) - 类 中的方法com.github.pagehelper.Page
 
setProperties(Properties) - 类 中的方法com.github.pagehelper.PageHelper
设置属性值
setProperties(Properties) - 类 中的方法com.github.pagehelper.SqlUtil
 
setReasonable(Boolean) - 类 中的方法com.github.pagehelper.Page
 
setTotal(long) - 类 中的方法com.github.pagehelper.Page
 
SqlParser - com.github.pagehelper中的类
sql解析类,提供更智能的count查询sql
SqlParser() - 类 的构造器com.github.pagehelper.SqlParser
 
SqlServer - com.github.pagehelper中的类
将sqlserver查询语句转换为分页语句
注意事项:
请先保证你的SQL可以执行 sql中最好直接包含order by,可以自动从sql提取 如果没有order by,可以通过入参提供,但是需要自己保证正确 如果sql有order by,可以通过orderby参数覆盖sql中的order by order by的列名不能使用别名 表和列使用别名的时候不要使用单引号(') 该类设计为一个独立的工具类,依赖jsqlparser,可以独立使用
SqlServer() - 类 的构造器com.github.pagehelper.SqlServer
 
sqlToCount(Select) - 类 中的方法com.github.pagehelper.SqlParser
将sql转换为count查询
SqlUtil - com.github.pagehelper中的类
Mybatis - sql工具,获取分页和count的MappedStatement,设置分页参数
SqlUtil(String) - 类 的构造器com.github.pagehelper.SqlUtil
构造方法
SqlUtil.Dialect - com.github.pagehelper中的枚举
 
SqlUtil.Parser - com.github.pagehelper中的接口
处理SQL
SqlUtil.SimpleParser - com.github.pagehelper中的类
基础的Parser抽象类
SqlUtil.SimpleParser() - 类 的构造器com.github.pagehelper.SqlUtil.SimpleParser
 
startPage(int, int) - 类 中的静态方法com.github.pagehelper.PageHelper
开始分页
startPage(int, int, String) - 类 中的静态方法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
开始分页

T

testSql(String, String) - 类 中的静态方法com.github.pagehelper.SqlUtil
测试[控制台输出]count和分页sql
toString() - 类 中的方法com.github.pagehelper.Page
 
toString() - 类 中的方法com.github.pagehelper.PageInfo
 

V

valueOf(String) - 枚举 中的静态方法com.github.pagehelper.SqlUtil.Dialect
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.github.pagehelper.SqlUtil.Dialect
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
C G I N O P R S T V 

Copyright © 2015. All rights reserved.