Uses of Class
org.miaixz.bus.pager.Page
Packages that use Page
Package
Description
Provides core classes for MyBatis pagination plugin.
Provides internal handling for pagination, including parameter binding and MappedStatement management.
Provides interfaces and abstract classes for database pagination dialects.
Provides base implementations for various database pagination dialects.
-
Uses of Page in org.miaixz.bus.pager
Methods in org.miaixz.bus.pager that return PageModifier and TypeMethodDescriptionPage.asyncCount(boolean asyncCount) Sets whether asynchronous count queries are enabled.Page.boundSqlInterceptor(BoundSqlBuilder boundSqlHandler) Sets the BoundSql interceptor.Sets whether a count query should be executed.Page.countColumn(String columnName) Specifies the column name for the count query.Page.disableAsyncCount()Disables asynchronous count queries.<E> Page<E> Page.doSelectPage(Querying select) Executes a paginated query.Page.enableAsyncCount()Enables asynchronous count queries.Page.keepOrderBy(boolean keepOrderBy) Sets whether to retain the order by clause in the count query.Page.keepSubSelectOrderBy(boolean keepSubSelectOrderBy) Sets whether to retain the order by clause of sub-queries in the count query.Page.pageNo(int pageNo) Sets the page number.Page.pageSize(int pageSize) Sets the page size.Page.pageSizeZero(Boolean pageSizeZero) Sets the pageSizeZero switch.Page.reasonable(Boolean reasonable) Sets the pagination reasonableness switch.Page.setCount(boolean count) Sets whether a count query should be executed.Page.setEndRow(long endRow) Sets the ending row position.Page.setKeepOrderBy(Boolean keepOrderBy) Sets whether to retain the order by clause in the count query.<E> Page<E> Page.setOrderBy(String orderBy) Sets the order by clause.Page.setPageNo(int pageNo) Sets the page number, with support for reasonableness handling.Page.setPages(int pages) Sets the total number of pages.Page.setPageSize(int pageSize) Sets the page size.Page.setPageSizeZero(Boolean pageSizeZero) Sets the pageSizeZero switch.Page.setReasonable(Boolean reasonable) Sets the pagination reasonableness switch.Page.setStartRow(long startRow) Sets the starting row position.<E> Page<E> Page.setUnsafeOrderBy(String orderBy) Sets the order by clause unsafely.Specifies the pagination implementation to use.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) Generates the SQL for the paginated query using a raw SQL string. -
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_PAGEStores the pagination parameters for the current thread.Methods in org.miaixz.bus.pager.binding that return PageModifier and TypeMethodDescriptionstatic <T> Page<T> PageMethod.getLocalPage()Retrieves thePageobject associated with the current thread.Retrieves thePageobject based on the provided query parameters andRowBounds.static <T> Page<T> PageObject.getPageFromObject(Object params, boolean required) Extracts pagination parameters from an object and creates aPageinstance.static <E> Page<E> PageMethod.offsetPage(int offset, int limit) Starts pagination based on an offset and limit, similar toRowBounds.static <E> Page<E> PageMethod.offsetPage(int offset, int limit, boolean count) Starts pagination based on an offset, limit, and whether to execute a count query.static <E> Page<E> PageMethod.startPage(int pageNo, int pageSize) Starts pagination with a specified page number and page size.static <E> Page<E> PageMethod.startPage(int pageNo, int pageSize, boolean count) Starts pagination with a specified page number, page size, and whether to execute a count query.static <E> Page<E> PageMethod.startPage(int pageNo, int pageSize, boolean count, Boolean reasonable, Boolean pageSizeZero) Starts pagination with comprehensive control over page number, page size, count query execution, pagination reasonableness, and zero page size handling.static <E> Page<E> Starts pagination with a specified page number, page size, and order by clause.static <E> Page<E> Starts pagination based on the properties of a given parameter object.Methods in org.miaixz.bus.pager.binding with parameters of type PageModifier and TypeMethodDescriptionstatic voidPageMethod.setLocalPage(Page page) Sets thePageobject for the current thread. -
Uses of Page in org.miaixz.bus.pager.dialect
Methods in org.miaixz.bus.pager.dialect that return PageModifier and TypeMethodDescription<T> Page<T> AbstractPaging.getLocalPage()Retrieves thePageobject associated with the current thread.Methods 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 method to generate the database-specific pagination SQL.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) Abstract method to process pagination parameters, to be implemented by concrete dialect classes. -
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) Generates the AS400-specific pagination SQL.CirroData.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the CirroData-specific pagination SQL.Db2.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the DB2-specific pagination SQL.Firebird.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the Firebird-specific pagination SQL.HerdDB.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the HerdDB-specific pagination SQL.Hsqldb.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the Hsqldb-specific pagination SQL.Informix.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the Informix-specific pagination SQL.MySql.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the MySQL-specific pagination SQL.Oracle.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the Oracle-specific pagination SQL.Oracle9i.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the Oracle 9i-specific pagination SQL.Oscar.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the Oscar-specific pagination SQL.PostgreSql.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the PostgreSQL-specific pagination SQL.SqlServer.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the SQL Server-specific pagination SQL.SqlServer2012.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the SQL Server 2012-specific pagination SQL.Xugudb.getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey) Generates the Xugudb-specific pagination SQL.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) Processes the pagination parameters for AS400.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) Processes the pagination parameters for CirroData.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) Processes the pagination parameters for DB2.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) Processes the pagination parameters for Firebird.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) Processes the pagination parameters for HerdDB.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) Processes the pagination parameters for Hsqldb.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) Processes the pagination parameters for Informix.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) Processes the pagination parameters for MySQL.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) Processes the pagination parameters for Oracle.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) Processes the pagination parameters for Oracle 9i.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) Processes the pagination parameters for Oscar.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) Processes the pagination parameters for PostgreSQL.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) Processes the pagination parameters for SQL Server.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) Processes the pagination parameters for SQL Server 2012.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) Processes the pagination parameters for Xugudb.