Uses of Class
org.aoju.bus.pager.Page
Packages that use Page
Package
Description
MyBatis 分页插件
数据库分页方言
分页方言实现
分页执行代理
-
Uses of Page in org.aoju.bus.pager
Methods in org.aoju.bus.pager that return PageModifier and TypeMethodDescriptionPage.boundSqlInterceptor(BoundSqlHandler boundSqlHandler) 设置 BoundSql 拦截器是否执行count查询Page.countColumn(String columnName) 指定 count 查询列<E> Page<E> Page.doSelectPage(Querying select) Page.keepOrderBy(boolean keepOrderBy) Page.pageNo(int pageNo) 设置页码Page.pageSize(int pageSize) 设置页面大小Page.pageSizeZero(Boolean pageSizeZero) 当设置为true的时候,如果pagesize设置为0(或RowBounds的limit=0),就不执行分页,返回全部结果Page.reasonable(Boolean reasonable) 设置合理化Page.setCount(boolean count) Page.setEndRow(long endRow) <E> Page<E> Page.setOrderBy(String orderBy) 设置排序字段,增加 SQL 注入校验,如果需要在 order by 使用函数,可以使用setUnsafeOrderBy(String)方法Page.setPageNo(int pageNo) Page.setPages(int pages) Page.setPageSize(int pageSize) Page.setPageSizeZero(Boolean pageSizeZero) Page.setReasonable(Boolean reasonable) Page.setStartRow(long startRow) <E> Page<E> Page.setUnsafeOrderBy(String orderBy) 不安全的设置排序方法,如果从前端接收参数,请自行做好注入校验。指定使用的分页实现,如果自己使用的很频繁,建议自己增加一层封装再使用Methods in org.aoju.bus.pager with parameters of type PageModifier and TypeMethodDescriptionPageContext.getPageSql(String sql, Page page, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.cache.CacheKey pageKey) -
Uses of Page in org.aoju.bus.pager.dialect
Methods in org.aoju.bus.pager.dialect that return PageMethods in org.aoju.bus.pager.dialect with parameters of type PageModifier and TypeMethodDescriptionabstract StringAbstractPaging.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) 单独处理分页部分abstract ObjectAbstractPaging.processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String, Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey) 处理分页参数 -
Uses of Page in org.aoju.bus.pager.dialect.base
Methods in org.aoju.bus.pager.dialect.base with parameters of type PageModifier and TypeMethodDescriptionDb2.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Firebird.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) HerdDB.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Hsqldb.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Informix.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) MySql.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Oracle.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Oracle9i.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Oscar.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) PostgreSql.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) 构建 PostgreSQL分页查询语句SqlServer.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) SqlServer2012.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Db2.processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String, Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey) Firebird.processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String, Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey) HerdDB.processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String, Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey) Hsqldb.processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String, Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey) Informix.processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String, Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey) MySql.processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String, Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey) Oracle.processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String, Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey) Oracle9i.processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String, Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey) Oscar.processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String, Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey) PostgreSql.processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String, Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey) SqlServer.processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String, Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey) SqlServer2012.processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String, Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey) -
Uses of Page in org.aoju.bus.pager.proxy
Fields in org.aoju.bus.pager.proxy with type parameters of type PageMethods in org.aoju.bus.pager.proxy that return PageModifier and TypeMethodDescriptionstatic <T> Page<T> PageMethod.getLocalPage()获取分页参数static <T> Page<T> PageObject.getPageFromObject(Object params, boolean required) 对象中获取分页参数static <E> Page<E> PageMethod.offsetPage(int offset, int limit) 开始分页static <E> Page<E> PageMethod.offsetPage(int offset, int limit, boolean count) 开始分页static <E> Page<E> PageMethod.startPage(int pageNo, int pageSize) 开始分页static <E> Page<E> PageMethod.startPage(int pageNo, int pageSize, boolean count) 开始分页static <E> Page<E> PageMethod.startPage(int pageNo, int pageSize, boolean count, Boolean reasonable, Boolean pageSizeZero) 开始分页static <E> Page<E> 开始分页static <E> Page<E> 开始分页Methods in org.aoju.bus.pager.proxy with parameters of type PageModifier and TypeMethodDescriptionprotected static voidPageMethod.setLocalPage(Page page) 设置 Page 参数