Serialized Form
-
Package org.miaixz.bus.pager
-
Class org.miaixz.bus.pager.Page
- serialVersionUID:
- 2852289758798L
-
Serialized Fields
-
asyncCount
Boolean asyncCount
Flag indicating whether to enable asynchronous count queries. -
boundSqlHandler
BoundSqlBuilder boundSqlHandler
SQL interception handler for BoundSql. -
count
boolean count
Flag indicating whether a count query should be executed. -
countColumn
String countColumn
The column name used for the count query. -
dialectClass
String dialectClass
The dialect class for pagination, can use aliases registered inPageAutoDialectlike "mysql", "oracle". -
endRow
long endRow
The ending row number for the current page. -
keepOrderBy
Boolean keepOrderBy
Flag indicating whether to retain the order by clause in the count query. -
keepSubSelectOrderBy
Boolean keepSubSelectOrderBy
Flag indicating whether to retain the order by clause of sub-queries in the count query. -
orderBy
String orderBy
The order by clause for sorting. -
orderByOnly
boolean orderByOnly
Flag indicating whether only ordering should be applied without pagination. -
pageNo
int pageNo
The current page number, starting from 1. -
pages
int pages
The total number of pages. -
pageSize
int pageSize
The size of each page. -
pageSizeZero
Boolean pageSizeZero
If true, and pageSize is 0 (or RowBounds limit is 0), no pagination is performed, and all results are returned. -
reasonable
Boolean reasonable
Flag for pagination reasonableness. If true, page numbers are adjusted to be within valid range. -
stackTrace
String stackTrace
Records the current stack trace, allowing the location where the Page object was created to be found (requires page.debug to be enabled). -
startRow
long startRow
The starting row number for the current page. -
total
long total
The total number of records across all pages.
-
-
Class org.miaixz.bus.pager.Paginating
-
Serialized Fields
-
endRow
long endRow
The row number of the last element in the current page in the database. -
hasNextPage
boolean hasNextPage
Flag indicating if there is a next page. -
hasPreviousPage
boolean hasPreviousPage
Flag indicating if there is a previous page. -
isFirstPage
boolean isFirstPage
Flag indicating if the current page is the first page. -
isLastPage
boolean isLastPage
Flag indicating if the current page is the last page. -
navigateFirstPage
int navigateFirstPage
The first page number in the navigation bar. -
navigateLastPage
int navigateLastPage
The last page number in the navigation bar. -
navigatepageNo
int[] navigatepageNo
An array of navigation page numbers. -
navigatePages
int navigatePages
The number of navigation pages to display. -
nextPage
int nextPage
The page number of the next page. -
pageNo
int pageNo
The current page number. -
pages
int pages
The total number of pages. -
pageSize
int pageSize
The number of records per page. -
prePage
int prePage
The page number of the previous page. -
size
int size
The number of records in the current page. -
startRow
long startRow
The row number of the first element in the current page in the database (starts from 1).
-
-
-
Class org.miaixz.bus.pager.Serialize
class Serialize extends Object implements Serializable- serialVersionUID:
- 2852290178259L
-
-
Package org.miaixz.bus.pager.handler
-
Class org.miaixz.bus.pager.handler.ConditionHandler
class ConditionHandler extends SqlParserHandler implements Serializable-
Serialized Fields
-
append
org.miaixz.bus.core.lang.EnumValue.Append append
The mode for appending conditional expressions (defaults to appending at the end, only for UPDATE, DELETE, SELECT).
-
-
-
Class org.miaixz.bus.pager.handler.OperationHandler
class OperationHandler extends SqlParserHandler implements Serializable -
Class org.miaixz.bus.pager.handler.PaginationHandler
class PaginationHandler extends SqlParserHandler implements Serializable-
Serialized Fields
-
countMsId
CountMsId countMsId
Generator for count query MappedStatement IDs. -
countSuffix
String countSuffix
Suffix for count queries. -
debug
boolean debug
Flag indicating if debug mode is enabled. -
default_dialect_class
String default_dialect_class
Default pagination dialect class. -
dialect
Dialect dialect
The pagination dialect, controlling pagination logic. -
msCountMap
org.miaixz.bus.cache.CacheX<String,
org.apache.ibatis.mapping.MappedStatement> msCountMap Cache for count query MappedStatements.
-
-
-
Class org.miaixz.bus.pager.handler.PermissionHandler
class PermissionHandler extends ConditionHandler implements Serializable-
Serialized Fields
-
provider
PermissionProvider provider
The data permission provider, used to generate permission-related SQL segments.
-
-
-
Class org.miaixz.bus.pager.handler.TenantHandler
class TenantHandler extends ConditionHandler implements Serializable-
Serialized Fields
-
provider
TenantProvider provider
The tenant service provider, used to obtain tenant-related information.
-
-
-