Uses of Class
org.miaixz.bus.pager.Page
Packages that use Page
Package
Description
MyBatis 分页插件
分页内部处理
数据库分页方言
分页方言实现
-
Uses of Page in org.miaixz.bus.pager
Methods in org.miaixz.bus.pager that return PageModifier and TypeMethodDescriptionPage.asyncCount(boolean asyncCount) 设置是否启用异步count查询。Page.boundSqlInterceptor(BoundSqlBuilder boundSqlHandler) 设置BoundSql拦截器。设置是否执行count查询。Page.countColumn(String columnName) 指定count查询列。Page.disableAsyncCount()禁用异步count查询。<E> Page<E> Page.doSelectPage(Querying select) 执行分页查询。Page.enableAsyncCount()启用异步count查询。Page.keepOrderBy(boolean keepOrderBy) 设置是否保留count查询的order by排序。Page.keepSubSelectOrderBy(boolean keepSubSelectOrderBy) 设置是否保留子查询的order by排序。Page.pageNo(int pageNo) 设置页码。Page.pageSize(int pageSize) 设置页面大小。Page.pageSizeZero(Boolean pageSizeZero) 设置pageSizeZero开关。Page.reasonable(Boolean reasonable) 设置分页合理化开关。Page.setCount(boolean count) 设置是否执行count查询。Page.setEndRow(long endRow) 设置末行位置。Page.setKeepOrderBy(Boolean keepOrderBy) 设置是否保留count查询的order by排序。<E> Page<E> Page.setOrderBy(String orderBy) 设置排序字段。Page.setPageNo(int pageNo) 设置页码,支持合理化处理。Page.setPages(int pages) 设置总页数。Page.setPageSize(int pageSize) 设置页面大小。Page.setPageSizeZero(Boolean pageSizeZero) 设置pageSizeZero开关。Page.setReasonable(Boolean reasonable) 设置分页合理化开关。Page.setStartRow(long startRow) 设置起始行位置。<E> Page<E> Page.setUnsafeOrderBy(String orderBy) 不安全设置排序字段,需自行确保无SQL注入风险。指定使用的分页实现。Methods in org.miaixz.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.miaixz.bus.pager.binding
Fields in org.miaixz.bus.pager.binding with type parameters of type PageModifier and TypeFieldDescriptionprotected static final ThreadLocal<Page> PageMethod.LOCAL_PAGE存储当前线程的分页参数Methods in org.miaixz.bus.pager.binding 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) 开始分页,基于偏移量、限制数和是否执行count查询。static <E> Page<E> PageMethod.startPage(int pageNo, int pageSize) 开始分页,指定页码和页面大小。static <E> Page<E> PageMethod.startPage(int pageNo, int pageSize, boolean count) 开始分页,指定页码、页面大小和是否执行count查询。static <E> Page<E> PageMethod.startPage(int pageNo, int pageSize, boolean count, Boolean reasonable, Boolean pageSizeZero) 开始分页,指定页码、页面大小、count查询、分页合理化和零页大小处理。static <E> Page<E> 开始分页,指定页码、页面大小和排序字段。static <E> Page<E> 从参数对象开始分页。Methods in org.miaixz.bus.pager.binding with parameters of type Page -
Uses of Page in org.miaixz.bus.pager.dialect
Methods in org.miaixz.bus.pager.dialect that return PageMethods in org.miaixz.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.miaixz.bus.pager.dialect.base
Methods in org.miaixz.bus.pager.dialect.base with parameters of type PageModifier and TypeMethodDescriptionAS400.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) CirroData.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Db2.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) Xugudb.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) AS400.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) CirroData.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) 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) Xugudb.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)