Index

A B C D E F G H I K L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractAutoDialect<Ds> - Class in org.miaixz.bus.pager.dialect
Abstract base class for auto-detecting database dialects from a DataSource.
AbstractAutoDialect() - Constructor for class org.miaixz.bus.pager.dialect.AbstractAutoDialect
Constructs an AbstractAutoDialect instance and determines the specific DataSource class from the generic type parameter.
AbstractDialect - Class in org.miaixz.bus.pager.dialect
Abstract base class for database dialects, providing common functionality for SQL parsing.
AbstractDialect() - Constructor for class org.miaixz.bus.pager.dialect.AbstractDialect
 
AbstractPaging - Class in org.miaixz.bus.pager.dialect
Abstract base class for pagination dialect implementations, specifically for PageContext.
AbstractPaging() - Constructor for class org.miaixz.bus.pager.dialect.AbstractPaging
 
AbstractRowBounds - Class in org.miaixz.bus.pager.dialect
Abstract base class for pagination based on MyBatis RowBounds.
AbstractRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.AbstractRowBounds
 
addAggregateFunctions(String) - Static method in interface org.miaixz.bus.pager.parsing.CountSqlParser
Adds aggregate functions to the set.
addRowNumber(PlainSelect, List<SelectItem<?>>) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Gets the ROW_NUMBER() column.
afterAll() - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
Called after all pagination tasks are completed.
afterAll() - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
Called after all pagination tasks are completed.
afterAll() - Method in interface org.miaixz.bus.pager.Dialect
Called after all pagination tasks are completed.
afterAll() - Method in class org.miaixz.bus.pager.PageContext
Called after all pagination tasks are completed.
afterCount(long, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
Called after the count query has been executed to process the count result.
afterCount(long, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
Called after the count query has been executed to process the count result.
afterCount(long, Object, RowBounds) - Method in interface org.miaixz.bus.pager.Dialect
Called after the count query has been executed.
afterCount(long, Object, RowBounds) - Method in class org.miaixz.bus.pager.PageContext
Called after the count query has been executed.
afterPage(List, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
Called after the pagination query has been executed to process the results.
afterPage(List, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
Called after the pagination query has been executed to process the results.
afterPage(List, Object, RowBounds) - Method in interface org.miaixz.bus.pager.Dialect
Called after the pagination query has been executed to process the results.
afterPage(List, Object, RowBounds) - Method in class org.miaixz.bus.pager.PageContext
Called after the pagination query has been executed to process the results.
AGGREGATE_FUNCTIONS - Static variable in interface org.miaixz.bus.pager.parsing.CountSqlParser
A set of aggregate functions.
andExpression(Table, Expression, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
Handles the WHERE conditions for DELETE and UPDATE statements.
appendExpression(Expression, Expression) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
Appends a conditional expression.
appendSelectItem(List<SelectItem<?>>) - Method in class org.miaixz.bus.pager.handler.TenantHandler
Appends the tenant column to the SELECT clause of a SELECT statement.
AS400 - Class in org.miaixz.bus.pager.dialect.base
Database dialect for AS400.
AS400() - Constructor for class org.miaixz.bus.pager.dialect.base.AS400
 
asyncCount() - Method in class org.miaixz.bus.pager.Page
Checks if asynchronous count queries are enabled.
asyncCount(boolean) - Method in class org.miaixz.bus.pager.Page
Sets whether asynchronous count queries are enabled.
asyncCountTask(Callable<T>) - Method in interface org.miaixz.bus.pager.Dialect
Executes an asynchronous count query task.
asyncCountTask(Callable<T>) - Method in class org.miaixz.bus.pager.PageContext
Executes an asynchronous count query task, ensuring that ThreadLocal values are properly propagated.
AutoDialect<K> - Interface in org.miaixz.bus.pager.dialect
Interface for automatically obtaining a database dialect.
autoGetDialect(MappedStatement) - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
Automatically retrieves the pagination dialect implementation based on the MappedStatement and DataSource.

B

beforeCount(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
Determines whether a count query should be executed before the main pagination query.
beforeCount(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
Determines whether a count query should be executed before the main pagination query.
beforeCount(MappedStatement, Object, RowBounds) - Method in interface org.miaixz.bus.pager.Dialect
Called before executing the count query.
beforeCount(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.PageContext
Called before executing the count query.
beforePage(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
Determines whether the main pagination query should be executed.
beforePage(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
Determines whether the main pagination query should be executed.
beforePage(MappedStatement, Object, RowBounds) - Method in interface org.miaixz.bus.pager.Dialect
Called before executing the pagination query.
beforePage(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.PageContext
Called before executing the pagination query.
boundSql(BoundSqlBuilder.Type, BoundSql, CacheKey, BoundSqlBuilder.Chain) - Method in interface org.miaixz.bus.pager.builder.BoundSqlBuilder
Processes the BoundSql for a specific type of SQL operation.
BoundSqlBuilder - Interface in org.miaixz.bus.pager.builder
Interface for processing BoundSql objects within the pagination plugin.
BoundSqlBuilder.Chain - Interface in org.miaixz.bus.pager.builder
Represents a chain of BoundSqlBuilder processors.
BoundSqlBuilder.Type - Enum Class in org.miaixz.bus.pager.builder
Enumerates the types of SQL operations that can be processed by the BoundSqlBuilder.
BoundSqlChainBuilder - Class in org.miaixz.bus.pager.builder
A builder for a chain of BoundSqlBuilder instances.
BoundSqlChainBuilder(BoundSqlBuilder.Chain, List<BoundSqlBuilder>) - Constructor for class org.miaixz.bus.pager.builder.BoundSqlChainBuilder
Constructs a BoundSqlChainBuilder with an original chain and a list of interceptors.
boundSqlInterceptor(BoundSqlBuilder) - Method in class org.miaixz.bus.pager.Page
Sets the BoundSql interceptor.
Builder - Class in org.miaixz.bus.pager
Utility class for common operations related to pagination, such as SQL parsing and instance creation.
Builder() - Constructor for class org.miaixz.bus.pager.Builder
 
builderExpression(Expression, List<Table>, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
Builds and processes a conditional expression.
buildTableExpression(Table, Expression, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
Builds the query condition for a database table.
buildTableExpression(Table, Expression, String) - Method in class org.miaixz.bus.pager.handler.PermissionHandler
Builds a table-level permission expression.
buildTableExpression(Table, Expression, String) - Method in class org.miaixz.bus.pager.handler.TenantHandler
Builds the tenant condition expression (e.g., `tenant_id = ?
bus.pager - module bus.pager
bus.pager

C

CACHE_COUNTSQL - Variable in class org.miaixz.bus.pager.dialect.base.SqlServer
Cache for count SQL queries.
CACHE_PAGESQL - Variable in class org.miaixz.bus.pager.dialect.base.SqlServer
Cache for paginated SQL queries.
CacheFactory - Class in org.miaixz.bus.pager.cache
Factory for creating and configuring cache instances for SQL caching.
CacheFactory() - Constructor for class org.miaixz.bus.pager.cache.CacheFactory
 
calcByNavigatePages(int) - Method in class org.miaixz.bus.pager.Paginating
Calculates pagination properties based on the number of navigation pages.
checkWhere(String, Expression, String) - Method in class org.miaixz.bus.pager.handler.OperationHandler
Checks if the WHERE clause is valid to prevent full table operations.
CirroData - Class in org.miaixz.bus.pager.dialect.base
Database dialect for CirroData.
CirroData() - Constructor for class org.miaixz.bus.pager.dialect.base.CirroData
 
clear() - Method in class org.miaixz.bus.pager.cache.SimpleCache
Clears all entries from the cache.
clearDelegate() - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
Clears the thread-local dialect delegate.
clearPage() - Static method in class org.miaixz.bus.pager.binding.PageMethod
Clears the Page object from the current thread's context.
cloneOrderByElement(OrderByElement, String) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Clones an OrderByElement.
cloneOrderByElement(OrderByElement, Expression) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Clones an OrderByElement.
close() - Method in class org.miaixz.bus.pager.Page
Closes the Page object and clears the paging context.
ConditionHandler - Class in org.miaixz.bus.pager.handler
Base class for handling multi-table conditions.
ConditionHandler() - Constructor for class org.miaixz.bus.pager.handler.ConditionHandler
 
convert(FunctionX<T, E>) - Method in class org.miaixz.bus.pager.Paginating
Converts the paginated data to a different type using a provided function.
converToOrderBySql(String, String) - Method in class org.miaixz.bus.pager.parsing.DefaultOrderBySqlParser
Converts a SQL statement to include an ORDER BY clause.
converToOrderBySql(String, String) - Method in interface org.miaixz.bus.pager.parsing.OrderBySqlParser
Converts a SQL statement to include an ORDER BY clause.
convertToPageSql(String) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Converts a SQL statement to a paginated statement.
convertToPageSql(String, Integer, Integer) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Converts a SQL statement to a paginated statement.
convertToPageSql(String, Integer, Integer) - Method in interface org.miaixz.bus.pager.parsing.SqlServerSqlParser
Converts a SQL statement into a paginated SQL statement for SQL Server.
count(Boolean) - Method in class org.miaixz.bus.pager.Page
Sets whether a count query should be executed.
count(Querying) - Static method in class org.miaixz.bus.pager.binding.PageMethod
Executes a query to get the total count of records without actual pagination.
COUNT_SQL - Enum constant in enum class org.miaixz.bus.pager.builder.BoundSqlBuilder.Type
Count SQL, executed second in the processing chain.
countColumn - Variable in class org.miaixz.bus.pager.binding.PageParams
The default column name for the count query.
countColumn(String) - Method in class org.miaixz.bus.pager.Page
Specifies the column name for the count query.
CountExecutor - Class in org.miaixz.bus.pager.binding
Utility class for executing count queries in MyBatis pagination.
CountExecutor() - Constructor for class org.miaixz.bus.pager.binding.CountExecutor
 
CountMappedStatement - Class in org.miaixz.bus.pager.binding
Utility class for creating new MappedStatement objects, primarily for count queries.
CountMappedStatement() - Constructor for class org.miaixz.bus.pager.binding.CountMappedStatement
 
CountMsId - Interface in org.miaixz.bus.pager.binding
Builds the ID for the count method corresponding to the current query.
countSqlParser - Variable in class org.miaixz.bus.pager.dialect.AbstractDialect
The SQL parser for generating count queries.
CountSqlParser - Interface in org.miaixz.bus.pager.parsing
SQL parsing interface for generating more intelligent count queries.
createCache(String, String, Properties) - Static method in class org.miaixz.bus.pager.cache.CacheFactory
Creates a SQL cache instance based on the provided class name and properties.
current() - Static method in class org.miaixz.bus.pager.Builder
Retrieves the current method stack trace information.

D

dataSourceClass - Variable in class org.miaixz.bus.pager.dialect.AbstractAutoDialect
The class of the specific DataSource implementation.
Db2 - Class in org.miaixz.bus.pager.dialect.base
Database dialect for DB2.
Db2() - Constructor for class org.miaixz.bus.pager.dialect.base.Db2
 
Db2RowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
DB2 dialect for pagination based on RowBounds.
Db2RowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.Db2RowBounds
 
debugStackTraceLog() - Method in class org.miaixz.bus.pager.handler.PaginationHandler
Logs the pagination call stack in debug mode.
Defalut - Class in org.miaixz.bus.pager.dialect.auto
Default auto-dialect implementation that iterates through all registered AbstractAutoDialect implementations to find a matching one.
Defalut() - Constructor for class org.miaixz.bus.pager.dialect.auto.Defalut
 
DEFAULT - Static variable in interface org.miaixz.bus.pager.binding.CountMsId
Default implementation of CountMsId, which appends the count suffix to the MappedStatement ID.
DEFAULT - Static variable in class org.miaixz.bus.pager.dialect.auto.Early
Default instance of the Early auto-dialect.
DEFAULT - Static variable in interface org.miaixz.bus.pager.parsing.SqlParser
Default implementation that does not use a single thread pool and does not support timeout control.
DEFAULT_COUNT - Static variable in class org.miaixz.bus.pager.binding.PageMethod
Default setting for whether to execute a count query.
DEFAULT_NAVIGATE_PAGES - Static variable in class org.miaixz.bus.pager.Paginating
Default number of navigation pages.
DEFAULT_OBJECT_FACTORY - Static variable in class org.miaixz.bus.pager.binding.MetaObjectWithCache
The default ObjectFactory for creating new object instances.
DEFAULT_OBJECT_WRAPPER_FACTORY - Static variable in class org.miaixz.bus.pager.binding.MetaObjectWithCache
The default ObjectWrapperFactory for wrapping objects.
DEFAULT_REFLECTOR_FACTORY - Static variable in class org.miaixz.bus.pager.binding.MetaObjectWithCache
The default ReflectorFactory for creating and caching Reflector instances.
DefaultCountSqlParser - Class in org.miaixz.bus.pager.parsing
Default implementation of CountSqlParser that provides a more intelligent way to generate count query SQL.
DefaultCountSqlParser() - Constructor for class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
 
DefaultOrderBySqlParser - Class in org.miaixz.bus.pager.parsing
Default implementation of OrderBySqlParser for handling Order by clauses.
DefaultOrderBySqlParser() - Constructor for class org.miaixz.bus.pager.parsing.DefaultOrderBySqlParser
 
DefaultSqlServerSqlParser - Class in org.miaixz.bus.pager.parsing
Default implementation of SqlServerSqlParser for converting SQL Server queries to paginated statements.
DefaultSqlServerSqlParser() - Constructor for class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
 
Dialect - Interface in org.miaixz.bus.pager
Database dialect interface for different database implementations.
disableAsyncCount() - Method in class org.miaixz.bus.pager.Page
Disables asynchronous count queries.
DO_NOTHING - Static variable in interface org.miaixz.bus.pager.builder.BoundSqlBuilder.Chain
A default chain implementation that performs no operation and simply returns the original BoundSql.
doBoundSql(BoundSqlBuilder.Type, BoundSql, CacheKey) - Method in interface org.miaixz.bus.pager.builder.BoundSqlBuilder.Chain
Executes the next processor in the chain or performs the final BoundSql processing.
doBoundSql(BoundSqlBuilder.Type, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.builder.BoundSqlChainBuilder
Executes the BoundSql processing chain.
doBoundSql(BoundSqlBuilder.Type, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.PageContext
Processes the BoundSql chain for different types of SQL operations.
doCount(Querying) - Method in class org.miaixz.bus.pager.Page
Executes a count query.
doSelect() - Method in interface org.miaixz.bus.pager.Querying
Executes the query.
doSelectPage(Querying) - Method in class org.miaixz.bus.pager.Page
Executes a paginated query.
doSelectPageInfo(Querying) - Method in class org.miaixz.bus.pager.Page
Executes a paginated query and returns a Paginating object.
doSelectPageSerializable(Querying) - Method in class org.miaixz.bus.pager.Page
Executes a paginated query and returns a Serialize object.
Druid - Class in org.miaixz.bus.pager.dialect.auto
Auto-dialect implementation for Druid data sources.
Druid() - Constructor for class org.miaixz.bus.pager.dialect.auto.Druid
 

E

Early - Class in org.miaixz.bus.pager.dialect.auto
Early version default implementation for auto-detecting database dialects.
Early() - Constructor for class org.miaixz.bus.pager.dialect.auto.Early
 
emptyPageInfo() - Static method in class org.miaixz.bus.pager.Paginating
Static factory method to return an empty Paginating object.
enableAsyncCount() - Method in class org.miaixz.bus.pager.Page
Enables asynchronous count queries.
executeAutoCount(Dialect, Executor, MappedStatement, Object, BoundSql, RowBounds, ResultHandler) - Static method in class org.miaixz.bus.pager.binding.CountExecutor
Executes an automatically generated count query.
executeManualCount(Executor, MappedStatement, Object, BoundSql, ResultHandler) - Static method in class org.miaixz.bus.pager.binding.CountExecutor
Executes a manually configured count query.
extractDialect(String, MappedStatement, DataSource, Properties) - Method in class org.miaixz.bus.pager.dialect.AbstractAutoDialect
Extracts and returns the appropriate AbstractPaging dialect based on the dialect key (JDBC URL).
extractDialect(String, MappedStatement, DataSource, Properties) - Method in class org.miaixz.bus.pager.dialect.auto.Defalut
Extracts and returns the appropriate AbstractPaging dialect based on the dialect key.
extractDialect(String, MappedStatement, DataSource, Properties) - Method in class org.miaixz.bus.pager.dialect.auto.Early
Extracts and returns the appropriate AbstractPaging dialect based on the extracted JDBC URL.
extractDialect(K, MappedStatement, DataSource, Properties) - Method in interface org.miaixz.bus.pager.dialect.AutoDialect
Extracts and returns the appropriate AbstractPaging dialect.
extractDialectKey(MappedStatement, DataSource, Properties) - Method in class org.miaixz.bus.pager.dialect.AbstractAutoDialect
Extracts the dialect key (JDBC URL) if the provided DataSource matches the supported type.
extractDialectKey(MappedStatement, DataSource, Properties) - Method in class org.miaixz.bus.pager.dialect.auto.Defalut
Extracts the dialect key (JDBC URL) by iterating through registered auto-dialects.
extractDialectKey(MappedStatement, DataSource, Properties) - Method in class org.miaixz.bus.pager.dialect.auto.Early
Extracts the dialect key (JDBC URL) from the DataSource by obtaining a connection.
extractDialectKey(MappedStatement, DataSource, Properties) - Method in interface org.miaixz.bus.pager.dialect.AutoDialect
extraOrderBy(Select) - Static method in class org.miaixz.bus.pager.parsing.DefaultOrderBySqlParser
Extracts the ORDER BY elements from a SELECT statement and sets the default order by to null.

F

Firebird - Class in org.miaixz.bus.pager.dialect.base
Database dialect for Firebird SQL.
Firebird() - Constructor for class org.miaixz.bus.pager.dialect.base.Firebird
 
forObject(Object) - Static method in class org.miaixz.bus.pager.binding.MetaObject
Invokes the appropriate forObject method of MyBatis's MetaObject to create a MetaObject instance.
forObject(Object) - Static method in class org.miaixz.bus.pager.binding.MetaObjectWithCache
Creates a MetaObject for the given object using cached reflection factories.
fromJdbcUrl(String) - Static method in class org.miaixz.bus.pager.binding.PageAutoDialect
Extracts the dialect name from a JDBC URL.

G

genCountMsId(MappedStatement, Object, BoundSql, String) - Method in interface org.miaixz.bus.pager.binding.CountMsId
Generates the ID for the count method corresponding to the current query.
getAdditionalParameter(BoundSql) - Static method in class org.miaixz.bus.pager.binding.CountExecutor
Retrieves the `additionalParameters` map from a BoundSql object using reflection.
getAliasColumn(Table) - Method in class org.miaixz.bus.pager.handler.TenantHandler
Retrieves the tenant column name, optionally prefixed with the table alias.
getAsyncCount() - Method in class org.miaixz.bus.pager.Page
Retrieves whether asynchronous count queries are enabled.
getBoundSqlInterceptor() - Method in class org.miaixz.bus.pager.Page
Retrieves the BoundSql interceptor.
getChain() - Method in class org.miaixz.bus.pager.builder.PageBoundSqlBuilder
Retrieves the configured BoundSqlBuilder.Chain.
getColumn() - Method in interface org.miaixz.bus.pager.handler.TenantProvider
Retrieves the name of the tenant field.
getCount() - Method in class org.miaixz.bus.pager.RowBounds
Retrieves whether a count query should be executed.
getCountColumn() - Method in class org.miaixz.bus.pager.binding.PageParams
Retrieves the column name used for the count query.
getCountColumn() - Method in class org.miaixz.bus.pager.Page
Retrieves the column name used for the count query.
getCountSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractDialect
Generates the SQL for the count query using an intelligent SQL parser.
getCountSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
Generates the SQL for the count query.
getCountSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer
Generates the SQL for the count query for SQL Server.
getCountSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in interface org.miaixz.bus.pager.Dialect
Generates the SQL for the count query.
getCountSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.SqlServerRowBounds
Generates the SQL for the count query for SQL Server.
getCountSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.PageContext
Generates the SQL for the count query.
getDelegate() - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
Retrieves the current dialect delegate.
getDialect() - Method in class org.miaixz.bus.pager.handler.PaginationHandler
Retrieves the current pagination dialect.
getDialectClass() - Method in class org.miaixz.bus.pager.Page
Retrieves the dialect class used for pagination.
getDialectThreadLocal() - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
Retrieves the thread-local dialect instance.
getEndRow() - Method in class org.miaixz.bus.pager.Page
Retrieves the ending row position.
getEndRow() - Method in class org.miaixz.bus.pager.Paginating
Retrieves the row number of the last element in the current page.
getExistedMappedStatement(Configuration, String) - Static method in class org.miaixz.bus.pager.binding.CountExecutor
Attempts to retrieve an already existing MappedStatement from the configuration.
getJdbcUrl(DruidDataSource) - Method in class org.miaixz.bus.pager.dialect.auto.Druid
Retrieves the JDBC URL from the given DruidDataSource.
getJdbcUrl(HikariDataSource) - Method in class org.miaixz.bus.pager.dialect.auto.Hikari
Retrieves the JDBC URL from the given HikariDataSource.
getJdbcUrl(Ds) - Method in class org.miaixz.bus.pager.dialect.AbstractAutoDialect
Retrieves the JDBC URL from the specific DataSource instance.
getKeepOrderBy() - Method in class org.miaixz.bus.pager.Page
Retrieves whether to retain the order by clause in the count query.
getKeepSubSelectOrderBy() - Method in class org.miaixz.bus.pager.Page
Retrieves whether to retain the order by clause of sub-queries in the count query.
getList() - Method in class org.miaixz.bus.pager.Serialize
Retrieves the paginated result set.
getLocalPage() - Static method in class org.miaixz.bus.pager.binding.PageMethod
Retrieves the Page object associated with the current thread.
getLocalPage() - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
Retrieves the Page object associated with the current thread.
getNavigateFirstPage() - Method in class org.miaixz.bus.pager.Paginating
Retrieves the first page number in the navigation bar.
getNavigateLastPage() - Method in class org.miaixz.bus.pager.Paginating
Retrieves the last page number in the navigation bar.
getNavigatepageNo() - Method in class org.miaixz.bus.pager.Paginating
Retrieves the array of navigation page numbers.
getNavigatePages() - Method in class org.miaixz.bus.pager.Paginating
Retrieves the number of navigation pages to display.
getNextPage() - Method in class org.miaixz.bus.pager.Paginating
Retrieves the page number of the next page.
getOrderBy() - Method in class org.miaixz.bus.pager.Page
Retrieves the order by clause.
getOrderBy() - Method in class org.miaixz.bus.pager.PageParam
Retrieves the order by clause.
getOrderBy() - Method in interface org.miaixz.bus.pager.Paging
Retrieves the order by clause for sorting.
getOrderByElements(PlainSelect, List<SelectItem<?>>) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Gets the new sorting list.
getPage(Object, RowBounds) - Method in class org.miaixz.bus.pager.binding.PageParams
Retrieves the Page object based on the provided query parameters and RowBounds.
getPageFromObject(Object, boolean) - Static method in class org.miaixz.bus.pager.binding.PageObject
Extracts pagination parameters from an object and creates a Page instance.
getPageNo() - Method in class org.miaixz.bus.pager.Page
Retrieves the current page number.
getPageNo() - Method in class org.miaixz.bus.pager.PageParam
Retrieves the current page number.
getPageNo() - Method in class org.miaixz.bus.pager.Paginating
Retrieves the current page number.
getPageNo() - Method in interface org.miaixz.bus.pager.Paging
Retrieves the current page number.
getPages() - Method in class org.miaixz.bus.pager.Page
Retrieves the total number of pages.
getPages() - Method in class org.miaixz.bus.pager.Paginating
Retrieves the total number of pages.
getPageSelect(Select) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Gets an outer wrapped TOP query.
getPageSize() - Method in class org.miaixz.bus.pager.Page
Retrieves the page size.
getPageSize() - Method in class org.miaixz.bus.pager.PageParam
Retrieves the number of records per page.
getPageSize() - Method in class org.miaixz.bus.pager.Paginating
Retrieves the number of records per page.
getPageSize() - Method in interface org.miaixz.bus.pager.Paging
Retrieves the size of each page.
getPageSizeZero() - Method in class org.miaixz.bus.pager.Page
Retrieves the state of the pageSizeZero switch.
getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
Abstract method to generate the database-specific pagination SQL using RowBounds.
getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.Db2RowBounds
Generates the DB2-specific pagination SQL using RowBounds.
getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.HerdDBRowBounds
Generates the HerdDB-specific pagination SQL using RowBounds.
getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.HsqldbRowBounds
Generates the Hsqldb-specific pagination SQL using RowBounds.
getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.InformixRowBounds
Generates the Informix-specific pagination SQL using RowBounds.
getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.MySqlRowBounds
Generates the MySQL-specific pagination SQL using RowBounds.
getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.OracleRowBounds
Generates the Oracle-specific pagination SQL using RowBounds.
getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.PostgreSqlRowBounds
Generates the PostgreSQL-specific pagination SQL using RowBounds.
getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.SqlServer2012RowBounds
Generates the SQL Server 2012-specific pagination SQL using RowBounds.
getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.SqlServerRowBounds
Generates the SQL Server-specific pagination SQL using RowBounds.
getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.XugudbRowBounds
Generates the Xugudb-specific pagination SQL using RowBounds.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
Abstract method to generate the database-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.AS400
Generates the AS400-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.CirroData
Generates the CirroData-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Db2
Generates the DB2-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Firebird
Generates the Firebird-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.HerdDB
Generates the HerdDB-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Hsqldb
Generates the Hsqldb-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Informix
Generates the Informix-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.MySql
Generates the MySQL-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Oracle
Generates the Oracle-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Oracle9i
Generates the Oracle 9i-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Oscar
Generates the Oscar-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.PostgreSql
Generates the PostgreSQL-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer
Generates the SQL Server-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer2012
Generates the SQL Server 2012-specific pagination SQL.
getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Xugudb
Generates the Xugudb-specific pagination SQL.
getPageSql(String, Page, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.PageContext
Generates the SQL for the paginated query using a raw SQL string.
getPageSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
Generates the SQL for the paginated query.
getPageSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
Generates the SQL for the paginated query.
getPageSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer
Overrides the parent method to handle SQL Server specific pagination, especially for `with(nolock)` clauses.
getPageSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in interface org.miaixz.bus.pager.Dialect
Generates the SQL for the paginated query.
getPageSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.PageContext
Generates the SQL for the paginated query.
getParameterMap - Static variable in class org.miaixz.bus.pager.binding.PageObject
The `getParameterMap` method of `jakarta.servlet.ServletRequest`, if available.
getParamValue(MetaObject, String, boolean) - Static method in class org.miaixz.bus.pager.binding.PageObject
Retrieves a parameter value from a MetaObject.
getPrePage() - Method in class org.miaixz.bus.pager.Paginating
Retrieves the page number of the previous page.
getProvider() - Method in class org.miaixz.bus.pager.handler.PermissionHandler
Retrieves the data permission provider.
getProvider() - Method in class org.miaixz.bus.pager.handler.TenantHandler
Retrieves the tenant service provider.
getProviderMethodArgumentNames(ProviderSqlSource) - Static method in class org.miaixz.bus.pager.binding.CountExecutor
Retrieves the `providerMethodArgumentNames` array from a ProviderSqlSource object using reflection.
getReasonable() - Method in class org.miaixz.bus.pager.Page
Retrieves the state of the pagination reasonableness switch.
getResult() - Method in class org.miaixz.bus.pager.Page
Retrieves the paginated result set.
getSelectItems(PlainSelect) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Gets the query columns.
getSimpleCountSql(String) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
Retrieves a simple COUNT SQL, suitable for unparseable or complex scenarios.
getSimpleCountSql(String, String) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
Retrieves a simple COUNT SQL with a specified COUNT column name.
getSize() - Method in class org.miaixz.bus.pager.Paginating
Retrieves the number of records in the current page.
getSmartCountSql(String) - Method in interface org.miaixz.bus.pager.parsing.CountSqlParser
Retrieves an intelligent count SQL statement.
getSmartCountSql(String, String) - Method in interface org.miaixz.bus.pager.parsing.CountSqlParser
Retrieves an intelligent count SQL statement.
getSmartCountSql(String, String) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
Retrieves an intelligent COUNT SQL, automatically detecting whether to keep the ORDER BY clause.
getSqlSegment(Table, Expression, String) - Method in interface org.miaixz.bus.pager.handler.PermissionProvider
Retrieves the data permission SQL segment.
getStackTrace() - Method in class org.miaixz.bus.pager.Page
Retrieves the stack trace where this Page object was created.
getStartRow() - Method in class org.miaixz.bus.pager.Page
Retrieves the starting row position.
getStartRow() - Method in class org.miaixz.bus.pager.Paginating
Retrieves the row number of the first element in the current page.
getTenantId() - Method in interface org.miaixz.bus.pager.handler.TenantProvider
Retrieves the tenant ID value as an Expression.
getTotal() - Method in class org.miaixz.bus.pager.Page
Retrieves the total number of records.
getTotal() - Method in class org.miaixz.bus.pager.RowBounds
Retrieves the total number of records.
getTotal() - Method in class org.miaixz.bus.pager.Serialize
Retrieves the total number of records.
getUpdateOrDeleteExpression(Table, Expression, String) - Method in class org.miaixz.bus.pager.handler.PermissionHandler
Retrieves the permission expression for an UPDATE or DELETE statement.

H

handleParameter(BoundSql, MappedStatement, Class<?>, Class<?>) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
Handles the injection of pagination parameters into the BoundSql by adding new ParameterMapping entries for the first and second pagination parameters.
hasContent() - Method in class org.miaixz.bus.pager.Paginating
Checks if the paginating object contains any data.
hasRequest - Static variable in class org.miaixz.bus.pager.binding.PageObject
Indicates whether the application has access to `jakarta.servlet.ServletRequest`.
HerdDB - Class in org.miaixz.bus.pager.dialect.base
Database dialect for HerdDB.
HerdDB() - Constructor for class org.miaixz.bus.pager.dialect.base.HerdDB
 
HerdDBRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
HerdDB dialect for pagination based on RowBounds.
HerdDBRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.HerdDBRowBounds
 
Hikari - Class in org.miaixz.bus.pager.dialect.auto
Auto-dialect implementation for HikariCP data sources.
Hikari() - Constructor for class org.miaixz.bus.pager.dialect.auto.Hikari
 
Hsqldb - Class in org.miaixz.bus.pager.dialect.base
Database dialect for Hsqldb.
Hsqldb() - Constructor for class org.miaixz.bus.pager.dialect.base.Hsqldb
 
HsqldbRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
Hsqldb dialect for pagination based on RowBounds.
HsqldbRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.HsqldbRowBounds
 

I

ignore(String) - Method in interface org.miaixz.bus.pager.handler.TenantProvider
Determines whether to ignore multi-tenancy conditions for a specific table.
ignore(List<Column>, String) - Method in interface org.miaixz.bus.pager.handler.TenantProvider
Determines whether to ignore inserting the tenant field during an INSERT operation.
Informix - Class in org.miaixz.bus.pager.dialect.base
Database dialect for Informix.
Informix() - Constructor for class org.miaixz.bus.pager.dialect.base.Informix
 
InformixRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
Informix dialect for pagination based on RowBounds.
InformixRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.InformixRowBounds
 
initDelegateDialect(MappedStatement, String) - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
Initializes the dialect delegate, supporting runtime specification of the dialect.
instanceDialect(String, Properties) - Static method in class org.miaixz.bus.pager.binding.PageAutoDialect
Instantiates a dialect object from its class name or alias.
isAsyncCount() - Method in class org.miaixz.bus.pager.binding.PageParams
Checks if asynchronous count queries are enabled.
isAsyncCount() - Method in interface org.miaixz.bus.pager.Dialect
Checks if asynchronous count queries should be used.
isAsyncCount() - Method in class org.miaixz.bus.pager.PageContext
Checks if asynchronous count queries are enabled for the current page.
isCount() - Method in class org.miaixz.bus.pager.Page
Checks if a count query should be executed.
isDebug() - Method in class org.miaixz.bus.pager.handler.PaginationHandler
Checks if debug mode is enabled.
isHasNextPage() - Method in class org.miaixz.bus.pager.Paginating
Checks if there is a next page.
isHasPreviousPage() - Method in class org.miaixz.bus.pager.Paginating
Checks if there is a previous page.
isIsFirstPage() - Method in class org.miaixz.bus.pager.Paginating
Checks if the current page is the first page.
isIsLastPage() - Method in class org.miaixz.bus.pager.Paginating
Checks if the current page is the last page.
isNotEmptyList(List<?>) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Checks if a list is not empty.
isOffsetAsPageNo() - Method in class org.miaixz.bus.pager.binding.PageParams
Checks if RowBounds.offset is used as the page number.
isOrderByOnly() - Method in class org.miaixz.bus.pager.Page
Checks if only ordering should be applied without pagination.
isPageSizeZero() - Method in class org.miaixz.bus.pager.binding.PageParams
Checks if all results are returned when pageSize is 0.
isQuery(Executor, MappedStatement, Object, RowBounds, ResultHandler, BoundSql) - Method in class org.miaixz.bus.pager.handler.PaginationHandler
Determines whether a pagination query needs to be executed.
isReasonable() - Method in class org.miaixz.bus.pager.binding.PageParams
Checks if pagination reasonableness is enabled.
isRowBoundsWithCount() - Method in class org.miaixz.bus.pager.binding.PageParams
Checks if a count query is performed when using RowBounds.
isSimpleCount(PlainSelect) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
Determines if a simple COUNT query can be used.
isSupportMethodsArguments() - Method in class org.miaixz.bus.pager.binding.PageParams
Checks if passing pagination parameters through method arguments is supported.

K

KEEP_ORDERBY - Static variable in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
 
keepOrderBy() - Method in class org.miaixz.bus.pager.Page
Checks if the order by clause should be retained in the count query.
keepOrderBy() - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
Checks if the ORDER BY clause should be kept.
keepOrderBy(boolean) - Method in class org.miaixz.bus.pager.Page
Sets whether to retain the order by clause in the count query.
keepSubSelectOrderBy() - Method in class org.miaixz.bus.pager.Page
Checks if the order by clause of sub-queries should be retained in the count query.
keepSubSelectOrderBy() - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
Checks if the ORDER BY clause of subqueries should be kept.
keepSubSelectOrderBy(boolean) - Method in class org.miaixz.bus.pager.Page
Sets whether to retain the order by clause of sub-queries in the count query.

L

list - Variable in class org.miaixz.bus.pager.Serialize
The paginated result set.
LOCAL_PAGE - Static variable in class org.miaixz.bus.pager.binding.PageMethod
Stores the pagination parameters for the current thread.

M

MetaObject - Class in org.miaixz.bus.pager.binding
Provides a compatibility layer for accessing MyBatis's MetaObject.forObject method across different MyBatis versions.
MetaObject() - Constructor for class org.miaixz.bus.pager.binding.MetaObject
 
MetaObjectWithCache - Class in org.miaixz.bus.pager.binding
Provides a cached reflection mechanism to improve reflection performance.
MetaObjectWithCache() - Constructor for class org.miaixz.bus.pager.binding.MetaObjectWithCache
 
method - Static variable in class org.miaixz.bus.pager.binding.MetaObject
The Method object representing the forObject method of MyBatis's MetaObject.
MySql - Class in org.miaixz.bus.pager.dialect.base
Database dialect for MySQL.
MySql() - Constructor for class org.miaixz.bus.pager.dialect.base.MySql
 
MySqlRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
MySQL dialect for pagination based on RowBounds.
MySqlRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.MySqlRowBounds
 

N

newCountMappedStatement(MappedStatement, String) - Static method in class org.miaixz.bus.pager.binding.CountMappedStatement
Creates a new MappedStatement for a count query.
newInstance(Class<T>, Properties) - Static method in class org.miaixz.bus.pager.Builder
Creates a new instance of a class from its Class object.
newInstance(String, Class<T>, Properties, Supplier<T>) - Static method in class org.miaixz.bus.pager.Builder
Creates a new instance of a class, supporting configuration and Service Provider Interface (SPI).
newInstance(String, Properties) - Static method in class org.miaixz.bus.pager.Builder
Creates a new instance of a class from its fully qualified name.

O

of(long, List<? extends T>) - Static method in class org.miaixz.bus.pager.Paginating
Static factory method to create a Paginating object with a specified total number of records.
of(List<? extends T>) - Static method in class org.miaixz.bus.pager.Paginating
Static factory method to create a Paginating object.
of(List<? extends T>) - Static method in class org.miaixz.bus.pager.Serialize
Static factory method to create a Serialize object.
of(List<? extends T>, int) - Static method in class org.miaixz.bus.pager.Paginating
Static factory method to create a Paginating object with a specified number of navigation pages.
offsetAsPageNo - Variable in class org.miaixz.bus.pager.binding.PageParams
Whether to use RowBounds.offset as the page number.
offsetPage(int, int) - Static method in class org.miaixz.bus.pager.binding.PageMethod
Starts pagination based on an offset and limit, similar to RowBounds.
offsetPage(int, int, boolean) - Static method in class org.miaixz.bus.pager.binding.PageMethod
Starts pagination based on an offset, limit, and whether to execute a count query.
OperationHandler<T> - Class in org.miaixz.bus.pager.handler
Operation handler to prevent full table updates and deletes.
OperationHandler() - Constructor for class org.miaixz.bus.pager.handler.OperationHandler
 
Oracle - Class in org.miaixz.bus.pager.dialect.base
Database dialect for Oracle.
Oracle() - Constructor for class org.miaixz.bus.pager.dialect.base.Oracle
 
Oracle9i - Class in org.miaixz.bus.pager.dialect.base
Database dialect for Oracle 9i.
Oracle9i() - Constructor for class org.miaixz.bus.pager.dialect.base.Oracle9i
 
OracleRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
Oracle dialect for pagination based on RowBounds.
OracleRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.OracleRowBounds
 
orderBy(String) - Static method in class org.miaixz.bus.pager.binding.PageMethod
Sets the order by clause for the current pagination context.
orderByHashParameters(List<OrderByElement>) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
Determines if the ORDER BY clause contains parameters (?).
orderBySqlParser - Variable in class org.miaixz.bus.pager.dialect.AbstractDialect
The SQL parser for handling order by clauses.
OrderBySqlParser - Interface in org.miaixz.bus.pager.parsing
Interface for handling Order by clauses in SQL statements.
org.miaixz.bus.pager - package org.miaixz.bus.pager
Provides core classes for MyBatis pagination plugin.
org.miaixz.bus.pager.binding - package org.miaixz.bus.pager.binding
Provides internal handling for pagination, including parameter binding and MappedStatement management.
org.miaixz.bus.pager.builder - package org.miaixz.bus.pager.builder
 
org.miaixz.bus.pager.cache - package org.miaixz.bus.pager.cache
Provides caching mechanisms for the pagination plugin.
org.miaixz.bus.pager.dialect - package org.miaixz.bus.pager.dialect
Provides interfaces and abstract classes for database pagination dialects.
org.miaixz.bus.pager.dialect.auto - package org.miaixz.bus.pager.dialect.auto
Provides automatic dialect detection implementations for the pagination plugin.
org.miaixz.bus.pager.dialect.base - package org.miaixz.bus.pager.dialect.base
Provides base implementations for various database pagination dialects.
org.miaixz.bus.pager.dialect.replace - package org.miaixz.bus.pager.dialect.replace
Provides implementations for replacing and restoring SQL parts, particularly for handling `with(nolock)` clauses.
org.miaixz.bus.pager.dialect.rowbounds - package org.miaixz.bus.pager.dialect.rowbounds
Provides implementations for handling pagination based on MyBatis RowBounds.
org.miaixz.bus.pager.handler - package org.miaixz.bus.pager.handler
Provides various handlers for the pagination plugin, including tenant, permission, and SQL parsing handlers.
org.miaixz.bus.pager.parsing - package org.miaixz.bus.pager.parsing
Provides SQL parsing and conversion utilities for the pagination plugin.
ORIGINAL - Enum constant in enum class org.miaixz.bus.pager.builder.BoundSqlBuilder.Type
Original SQL, executed before the pagination plugin processes it.
Oscar - Class in org.miaixz.bus.pager.dialect.base
Database dialect for Oscar.
Oscar() - Constructor for class org.miaixz.bus.pager.dialect.base.Oscar
 

P

Page<E> - Class in org.miaixz.bus.pager
MyBatis paging object, supporting paginated queries and result set management.
Page() - Constructor for class org.miaixz.bus.pager.Page
Default constructor.
Page(int[], boolean) - Constructor for class org.miaixz.bus.pager.Page
Constructs a Page object based on row bounds for pagination.
Page(int, int) - Constructor for class org.miaixz.bus.pager.Page
Constructs a Page object with specified page number and page size.
Page(int, int, boolean) - Constructor for class org.miaixz.bus.pager.Page
Constructs a Page object with specified page number, page size, and whether to perform a count query.
PAGE_COLUMN_ALIAS_PREFIX - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Alias prefix for generated columns.
PAGE_ROW_NUMBER - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Row number column name.
PAGE_ROW_NUMBER_COLUMN - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Row number column object.
PAGE_SIZE - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Page size placeholder.
PAGE_SQL - Enum constant in enum class org.miaixz.bus.pager.builder.BoundSqlBuilder.Type
Page SQL, executed last in the processing chain.
PAGE_TABLE_ALIAS - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Alias for the page table.
PAGE_TABLE_NAME - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Table alias name.
PageAutoDialect - Class in org.miaixz.bus.pager.binding
Provides automatic identification and configuration of database pagination dialects.
PageAutoDialect() - Constructor for class org.miaixz.bus.pager.binding.PageAutoDialect
 
PageBoundSqlBuilder - Class in org.miaixz.bus.pager.builder
Configurator for the BoundSqlBuilder interceptor chain, responsible for initializing and managing the SQL binding processor chain.
PageBoundSqlBuilder() - Constructor for class org.miaixz.bus.pager.builder.PageBoundSqlBuilder
 
PageContext - Class in org.miaixz.bus.pager
Mybatis - Universal Paging Interceptor.
PageContext() - Constructor for class org.miaixz.bus.pager.PageContext
 
PageMethod - Class in org.miaixz.bus.pager.binding
Provides basic pagination methods for configuring and managing MyBatis paginated queries.
PageMethod() - Constructor for class org.miaixz.bus.pager.binding.PageMethod
 
pageNo(int) - Method in class org.miaixz.bus.pager.Page
Sets the page number.
PageObject - Class in org.miaixz.bus.pager.binding
Utility class for handling pagination parameter objects.
PageObject() - Constructor for class org.miaixz.bus.pager.binding.PageObject
 
PageParam - Class in org.miaixz.bus.pager
Base class for pagination parameters.
PageParam() - Constructor for class org.miaixz.bus.pager.PageParam
Default constructor for PageParam.
PageParam(Integer, Integer) - Constructor for class org.miaixz.bus.pager.PageParam
Constructs a PageParam with a specified page number and page size.
PageParam(Integer, Integer, String) - Constructor for class org.miaixz.bus.pager.PageParam
Constructs a PageParam with a specified page number, page size, and order by clause.
PAGEPARAMETER_FIRST - Static variable in class org.miaixz.bus.pager.dialect.AbstractPaging
Key for the first pagination parameter in the parameter map.
PAGEPARAMETER_SECOND - Static variable in class org.miaixz.bus.pager.dialect.AbstractPaging
Key for the second pagination parameter in the parameter map.
PageParams - Class in org.miaixz.bus.pager.binding
Configuration class for pagination parameters, responsible for managing and parsing pagination-related parameters.
PageParams() - Constructor for class org.miaixz.bus.pager.binding.PageParams
 
pageQuery(Dialect, Executor, MappedStatement, Object, RowBounds, ResultHandler, BoundSql, CacheKey) - Static method in class org.miaixz.bus.pager.binding.CountExecutor
Executes a paginated query.
pageSize(int) - Method in class org.miaixz.bus.pager.Page
Sets the page size.
pageSizeZero - Variable in class org.miaixz.bus.pager.binding.PageParams
If true, and pageSize is 0 (or RowBounds.limit is 0), all results are returned.
pageSizeZero(Boolean) - Method in class org.miaixz.bus.pager.Page
Sets the pageSizeZero switch.
Paginating<T> - Class in org.miaixz.bus.pager
Wraps the Page result, adding pagination-related properties to support navigation and page information display.
Paginating() - Constructor for class org.miaixz.bus.pager.Paginating
Default constructor for Paginating.
Paginating(List<? extends T>) - Constructor for class org.miaixz.bus.pager.Paginating
Constructs a Paginating object by wrapping a list of paginated results.
Paginating(List<? extends T>, int) - Constructor for class org.miaixz.bus.pager.Paginating
Constructs a Paginating object by wrapping a list of paginated results and specifying the number of navigation pages.
PaginationHandler - Class in org.miaixz.bus.pager.handler
Pagination handler for query pagination.
PaginationHandler() - Constructor for class org.miaixz.bus.pager.handler.PaginationHandler
 
Paging - Interface in org.miaixz.bus.pager
Paging interface for defining common paging parameters.
PARAMS - Static variable in class org.miaixz.bus.pager.binding.PageObject
A map storing parameter name mappings for pagination properties.
parse(String) - Static method in class org.miaixz.bus.pager.Builder
Parses a SQL statement string into a Statement object.
parse(String) - Static method in class org.miaixz.bus.pager.handler.SqlParserHandler
Parses a single SQL statement string.
parse(String) - Method in interface org.miaixz.bus.pager.parsing.SqlParser
Parses a SQL statement string.
parserMulti(String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
Parses and processes multiple SQL statements.
parserSingle(String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
Parses and processes a single SQL statement.
parseStatements(String) - Static method in class org.miaixz.bus.pager.handler.SqlParserHandler
Parses multiple SQL statement strings.
PermissionHandler - Class in org.miaixz.bus.pager.handler
Data permission handler for processing data permission controls in SQL statements.
PermissionHandler() - Constructor for class org.miaixz.bus.pager.handler.PermissionHandler
 
PermissionProvider - Interface in org.miaixz.bus.pager.handler
Data permission provider interface that defines the logic for generating data permission SQL segments.
PostgreSql - Class in org.miaixz.bus.pager.dialect.base
Database dialect for PostgreSQL.
PostgreSql() - Constructor for class org.miaixz.bus.pager.dialect.base.PostgreSql
 
PostgreSqlRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
PostgreSQL dialect for pagination based on RowBounds.
PostgreSqlRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.PostgreSqlRowBounds
 
prepare(StatementHandler) - Method in class org.miaixz.bus.pager.handler.OperationHandler
Prepares the SQL statement, checking UPDATE and DELETE statements for a WHERE clause to prevent full table operations.
prepare(StatementHandler) - Method in class org.miaixz.bus.pager.handler.PermissionHandler
Pre-processes SQL statements, dynamically adding permission conditions to UPDATE and DELETE statements.
prepare(StatementHandler) - Method in class org.miaixz.bus.pager.handler.TenantHandler
Pre-processes INSERT, UPDATE, and DELETE statements to add tenant conditions.
processDelete(Delete, int, String, Object) - Method in class org.miaixz.bus.pager.handler.OperationHandler
Processes a DELETE statement, checking if it includes a WHERE clause.
processDelete(Delete, int, String, Object) - Method in class org.miaixz.bus.pager.handler.PermissionHandler
Processes a DELETE statement, adding permission conditions.
processDelete(Delete, int, String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
Processes a DELETE statement.
processDelete(Delete, int, String, Object) - Method in class org.miaixz.bus.pager.handler.TenantHandler
Processes a DELETE statement, adding tenant conditions to its WHERE clause.
processFromItem(FromItem) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
Processes subqueries in the FROM clause.
processFromItem(FromItem, int) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Processes a subquery.
processFunction(Function, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
Processes a function, supporting `select fun(args..)` and nested functions `select fun1(fun2(args..),args..)`.
processInsert(Insert, int, String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
Processes an INSERT statement.
processInsert(Insert, int, String, Object) - Method in class org.miaixz.bus.pager.handler.TenantHandler
Processes an INSERT statement, adding tenant columns and values.
processInsertSelect(Select, String) - Method in class org.miaixz.bus.pager.handler.TenantHandler
Processes an INSERT INTO ...
processOtherFromItem(FromItem, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
Processes other FROM items (e.g., subqueries).
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
Abstract method to process pagination parameters, to be implemented by concrete dialect classes.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.AS400
Processes the pagination parameters for AS400.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.CirroData
Processes the pagination parameters for CirroData.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Db2
Processes the pagination parameters for DB2.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Firebird
Processes the pagination parameters for Firebird.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.HerdDB
Processes the pagination parameters for HerdDB.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Hsqldb
Processes the pagination parameters for Hsqldb.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Informix
Processes the pagination parameters for Informix.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.MySql
Processes the pagination parameters for MySQL.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Oracle
Processes the pagination parameters for Oracle.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Oracle9i
Processes the pagination parameters for Oracle 9i.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Oscar
Processes the pagination parameters for Oscar.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.PostgreSql
Processes the pagination parameters for PostgreSQL.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer
Processes the pagination parameters for SQL Server.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer2012
Processes the pagination parameters for SQL Server 2012.
processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Xugudb
Processes the pagination parameters for Xugudb.
processParameterObject(MappedStatement, Object, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
Processes the parameter object for pagination.
processParameterObject(MappedStatement, Object, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
Processes the parameter object for pagination.
processParameterObject(MappedStatement, Object, BoundSql, CacheKey) - Method in interface org.miaixz.bus.pager.Dialect
Processes the parameter object before the query is executed.
processParameterObject(MappedStatement, Object, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.PageContext
Processes the parameter object before the query is executed.
processParser(Statement, int, String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
Executes the SQL statement parsing and processing.
processPlainSelect(PlainSelect) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
Processes the body of a PlainSelect type.
processPlainSelect(PlainSelect, int) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Processes a PlainSelect type of select.
processPlainSelect(PlainSelect, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
Processes a PlainSelect statement, including its SELECT items, FROM item, and JOINs.
processSelect(Select) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
Processes the SELECT body to remove unnecessary ORDER BY clauses.
processSelect(Select, int, String, Object) - Method in class org.miaixz.bus.pager.handler.PaginationHandler
Processes a SELECT statement, logging pagination-related information.
processSelect(Select, int, String, Object) - Method in class org.miaixz.bus.pager.handler.PermissionHandler
Processes a SELECT statement, adding permission conditions.
processSelect(Select, int, String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
Processes a SELECT statement.
processSelect(Select, int, String, Object) - Method in class org.miaixz.bus.pager.handler.TenantHandler
Processes a SELECT statement, adding tenant conditions to its WHERE clause.
processSelectBody(Object, int) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Processes the selectBody to remove Order by.
processSelectBody(Select, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
Processes the body of a SELECT statement, applying the specified condition segment.
processSelectItem(SelectItem, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
Processes subqueries or functions in a SELECT item.
processUpdate(Update, int, String, Object) - Method in class org.miaixz.bus.pager.handler.OperationHandler
Processes an UPDATE statement, checking if it includes a WHERE clause.
processUpdate(Update, int, String, Object) - Method in class org.miaixz.bus.pager.handler.PermissionHandler
Processes an UPDATE statement, adding permission conditions.
processUpdate(Update, int, String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
Processes an UPDATE statement.
processUpdate(Update, int, String, Object) - Method in class org.miaixz.bus.pager.handler.TenantHandler
Processes an UPDATE statement, adding tenant conditions to its WHERE clause.
processWhereSubSelect(Expression, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
Processes subqueries in the WHERE clause, supporting IN, =, >, <, >=, <=, <>, EXISTS, NOT EXISTS.
processWithItemsList(List<WithItem<?>>) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
Processes the WITH clause to remove unnecessary ORDER BY clauses.
Property - Interface in org.miaixz.bus.pager
Paging configuration interface.

Q

query(Object, Executor, MappedStatement, Object, RowBounds, ResultHandler, BoundSql) - Method in class org.miaixz.bus.pager.handler.PaginationHandler
Executes the pagination query, handling both COUNT and pagination logic.
query(Object, Executor, MappedStatement, Object, RowBounds, ResultHandler, BoundSql) - Method in class org.miaixz.bus.pager.handler.PermissionHandler
Handles query processing, dynamically adding permission conditions to SELECT statements.
query(Object, Executor, MappedStatement, Object, RowBounds, ResultHandler, BoundSql) - Method in class org.miaixz.bus.pager.handler.TenantHandler
Handles query operations by adding tenant conditions to SELECT statements.
Querying - Interface in org.miaixz.bus.pager
Interface for executing a paginated query.

R

read(Collection<K>) - Method in class org.miaixz.bus.pager.cache.SimpleCache
Reads multiple values from the cache associated with the given keys.
read(K) - Method in class org.miaixz.bus.pager.cache.SimpleCache
Reads a value from the cache associated with the given key.
reasonable - Variable in class org.miaixz.bus.pager.binding.PageParams
Whether to enable pagination reasonableness.
reasonable(Boolean) - Method in class org.miaixz.bus.pager.Page
Sets the pagination reasonableness switch.
RegexWithNolock - Class in org.miaixz.bus.pager.dialect.replace
Implements ReplaceSql to handle SQL Server's `with(nolock)` hint using regular expressions.
RegexWithNolock() - Constructor for class org.miaixz.bus.pager.dialect.replace.RegexWithNolock
 
registerAutoDialect(AbstractAutoDialect) - Static method in class org.miaixz.bus.pager.dialect.auto.Defalut
Allows manual registration of additional AbstractAutoDialect implementations.
registerAutoDialectAlias(String, Class<? extends AutoDialect>) - Static method in class org.miaixz.bus.pager.binding.PageAutoDialect
Registers an auto-dialect alias with its corresponding implementation class.
registerDialectAlias(String, Class<? extends Dialect>) - Static method in class org.miaixz.bus.pager.binding.PageAutoDialect
Registers a database dialect alias with its corresponding implementation class.
remove(K...) - Method in class org.miaixz.bus.pager.cache.SimpleCache
Removes the specified keys from the cache.
replace(String) - Method in class org.miaixz.bus.pager.dialect.replace.RegexWithNolock
Replaces `with(nolock)` clauses in the SQL with a temporary placeholder.
replace(String) - Method in class org.miaixz.bus.pager.dialect.replace.SimpleWithNolock
Replaces `with(nolock)` clauses in the SQL with a simple placeholder.
replace(String) - Method in interface org.miaixz.bus.pager.dialect.ReplaceSql
Temporarily replaces parts of the SQL statement for jsqlparser parsing.
replaceSql - Variable in class org.miaixz.bus.pager.dialect.base.SqlServer
Utility for replacing and restoring SQL parts, especially for `with(nolock)`.
replaceSql - Variable in class org.miaixz.bus.pager.dialect.rowbounds.SqlServerRowBounds
Utility for replacing and restoring SQL parts, especially for `with(nolock)`.
ReplaceSql - Interface in org.miaixz.bus.pager.dialect
Interface for replacing and restoring SQL statements.
requestClass - Static variable in class org.miaixz.bus.pager.binding.PageObject
The `jakarta.servlet.ServletRequest` class, if available.
resloveDialectClass(String) - Static method in class org.miaixz.bus.pager.binding.PageAutoDialect
Resolves a dialect class from its name or alias.
restore(String) - Method in class org.miaixz.bus.pager.dialect.replace.RegexWithNolock
Restores the `with(nolock)` clauses in the SQL from their temporary placeholders.
restore(String) - Method in class org.miaixz.bus.pager.dialect.replace.SimpleWithNolock
Restores the `with(nolock)` clauses in the SQL from their simple placeholders.
restore(String) - Method in interface org.miaixz.bus.pager.dialect.ReplaceSql
Restores the SQL statement after it has been parsed and potentially modified.
RowBounds - Class in org.miaixz.bus.pager
Extends MyBatis's RowBounds to add pagination result information, such as total records and whether to perform a count query.
RowBounds(int, int) - Constructor for class org.miaixz.bus.pager.RowBounds
Constructs a RowBounds object with a specified offset and limit.
rowBoundsWithCount - Variable in class org.miaixz.bus.pager.binding.PageParams
Whether to perform a count query when using RowBounds.

S

Serialize<T> - Class in org.miaixz.bus.pager
Paging information class used to store the result set and total number of records for a paginated query.
Serialize() - Constructor for class org.miaixz.bus.pager.Serialize
Default constructor for Serialize.
Serialize(List<? extends T>) - Constructor for class org.miaixz.bus.pager.Serialize
Constructs a Serialize object based on a given list of results.
setAsyncCount(Boolean) - Method in class org.miaixz.bus.pager.Page
Sets whether asynchronous count queries are enabled.
setBoundSqlInterceptor(BoundSqlBuilder) - Method in class org.miaixz.bus.pager.Page
Sets the BoundSql interceptor.
setCount(boolean) - Method in class org.miaixz.bus.pager.Page
Sets whether a count query should be executed.
setCount(Boolean) - Method in class org.miaixz.bus.pager.RowBounds
Sets whether a count query should be executed.
setCountColumn(String) - Method in class org.miaixz.bus.pager.Page
Sets the column name for the count query, including SQL injection validation.
setDialectClass(String) - Method in class org.miaixz.bus.pager.Page
Sets the dialect class used for pagination.
setDialectThreadLocal(AbstractPaging) - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
Sets the thread-local dialect instance.
setEndRow(long) - Method in class org.miaixz.bus.pager.Page
Sets the ending row position.
setEndRow(long) - Method in class org.miaixz.bus.pager.Paginating
Sets the row number of the last element in the current page.
setHasNextPage(boolean) - Method in class org.miaixz.bus.pager.Paginating
Sets whether there is a next page.
setHasPreviousPage(boolean) - Method in class org.miaixz.bus.pager.Paginating
Sets whether there is a previous page.
setIsFirstPage(boolean) - Method in class org.miaixz.bus.pager.Paginating
Sets whether the current page is the first page.
setIsLastPage(boolean) - Method in class org.miaixz.bus.pager.Paginating
Sets whether the current page is the last page.
setKeepOrderBy(Boolean) - Method in class org.miaixz.bus.pager.Page
Sets whether to retain the order by clause in the count query.
setKeepSubSelectOrderBy(Boolean) - Method in class org.miaixz.bus.pager.Page
Sets whether to retain the order by clause of sub-queries in the count query.
setList(List<T>) - Method in class org.miaixz.bus.pager.Serialize
Sets the paginated result set.
setLocalPage(Page) - Static method in class org.miaixz.bus.pager.binding.PageMethod
Sets the Page object for the current thread.
setNavigateFirstPage(int) - Method in class org.miaixz.bus.pager.Paginating
Sets the first page number in the navigation bar.
setNavigateLastPage(int) - Method in class org.miaixz.bus.pager.Paginating
Sets the last page number in the navigation bar.
setNavigatepageNo(int[]) - Method in class org.miaixz.bus.pager.Paginating
Sets the array of navigation page numbers.
setNavigatePages(int) - Method in class org.miaixz.bus.pager.Paginating
Sets the number of navigation pages to display.
setNextPage(int) - Method in class org.miaixz.bus.pager.Paginating
Sets the page number of the next page.
setOrderBy(String) - Method in class org.miaixz.bus.pager.Page
Sets the order by clause.
setOrderBy(String) - Method in class org.miaixz.bus.pager.PageParam
Sets the order by clause.
setOrderByOnly(boolean) - Method in class org.miaixz.bus.pager.Page
Sets whether only ordering should be applied without pagination.
setPageNo(int) - Method in class org.miaixz.bus.pager.Page
Sets the page number, with support for reasonableness handling.
setPageNo(int) - Method in class org.miaixz.bus.pager.Paginating
Sets the current page number.
setPageNo(Integer) - Method in class org.miaixz.bus.pager.PageParam
Sets the current page number.
setPages(int) - Method in class org.miaixz.bus.pager.Page
Sets the total number of pages.
setPages(int) - Method in class org.miaixz.bus.pager.Paginating
Sets the total number of pages.
setPageSize(int) - Method in class org.miaixz.bus.pager.Page
Sets the page size.
setPageSize(int) - Method in class org.miaixz.bus.pager.Paginating
Sets the number of records per page.
setPageSize(Integer) - Method in class org.miaixz.bus.pager.PageParam
Sets the number of records per page.
setPageSizeZero(Boolean) - Method in class org.miaixz.bus.pager.Page
Sets the pageSizeZero switch.
setParams(String) - Static method in class org.miaixz.bus.pager.binding.PageObject
Sets custom parameter name mappings for pagination properties.
setPrePage(int) - Method in class org.miaixz.bus.pager.Paginating
Sets the page number of the previous page.
setProperties(Properties) - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
Sets the pagination configuration properties for this PageAutoDialect instance.
setProperties(Properties) - Method in class org.miaixz.bus.pager.binding.PageParams
Sets the pagination-related configuration properties.
setProperties(Properties) - Method in class org.miaixz.bus.pager.builder.PageBoundSqlBuilder
Configures the BoundSqlBuilder interceptor chain based on the provided properties.
setProperties(Properties) - Method in class org.miaixz.bus.pager.dialect.AbstractDialect
Sets the properties for the dialect, initializing the CountSqlParser and OrderBySqlParser.
setProperties(Properties) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
Sets the properties for this dialect.
setProperties(Properties) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
Sets the properties for this dialect.
setProperties(Properties) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer
Sets the properties for this SQL Server dialect.
setProperties(Properties) - Method in class org.miaixz.bus.pager.dialect.rowbounds.SqlServerRowBounds
Sets the properties for this SQL Server RowBounds dialect.
setProperties(Properties) - Method in interface org.miaixz.bus.pager.Dialect
Sets the properties for the dialect implementation.
setProperties(Properties) - Method in class org.miaixz.bus.pager.handler.PaginationHandler
Sets the properties for the pagination handler, initializing the cache and dialect.
setProperties(Properties) - Method in class org.miaixz.bus.pager.handler.TenantHandler
Sets the properties for the handler, initializing the tenant service provider.
setProperties(Properties) - Method in class org.miaixz.bus.pager.PageContext
Sets the properties for the PageContext, initializing internal components like PageParams, PageAutoDialect, and PageBoundSqlBuilder.
setProperties(Properties) - Method in interface org.miaixz.bus.pager.Property
Sets the properties for the implementing class.
setProvider(PermissionProvider) - Method in class org.miaixz.bus.pager.handler.PermissionHandler
Sets the data permission provider.
setProvider(TenantProvider) - Method in class org.miaixz.bus.pager.handler.TenantHandler
Sets the tenant service provider.
setReasonable(Boolean) - Method in class org.miaixz.bus.pager.Page
Sets the pagination reasonableness switch.
setSize(int) - Method in class org.miaixz.bus.pager.Paginating
Sets the number of records in the current page.
setStartRow(long) - Method in class org.miaixz.bus.pager.Page
Sets the starting row position.
setStartRow(long) - Method in class org.miaixz.bus.pager.Paginating
Sets the row number of the first element in the current page.
setStaticProperties(Properties) - Static method in class org.miaixz.bus.pager.binding.PageMethod
Sets global static properties for the pagination plugin.
setTotal(long) - Method in class org.miaixz.bus.pager.Page
Sets the total number of records and calculates the total number of pages.
setTotal(long) - Method in class org.miaixz.bus.pager.Serialize
Sets the total number of records.
setTotal(Long) - Method in class org.miaixz.bus.pager.RowBounds
Sets the total number of records.
setUnsafeOrderBy(String) - Method in class org.miaixz.bus.pager.Page
Sets the order by clause unsafely.
SimpleCache<K,V> - Class in org.miaixz.bus.pager.cache
Simple MyBatis Cache implementation that wraps an Cache instance.
SimpleCache(Properties) - Constructor for class org.miaixz.bus.pager.cache.SimpleCache
Constructs a new SimpleCache with the given properties.
SimpleWithNolock - Class in org.miaixz.bus.pager.dialect.replace
Simple implementation of ReplaceSql to handle SQL Server's `with(nolock)` hint.
SimpleWithNolock() - Constructor for class org.miaixz.bus.pager.dialect.replace.SimpleWithNolock
 
skip(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
This method is not intended to be called directly in this implementation.
skip(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
Determines whether to skip the pagination logic based on the RowBounds object.
skip(MappedStatement, Object, RowBounds) - Method in interface org.miaixz.bus.pager.Dialect
Determines whether to skip the count query and pagination query.
skip(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.PageContext
Determines whether to skip the count query and pagination query based on the current Page settings.
SqlParser - Interface in org.miaixz.bus.pager.parsing
Custom SQL parser interface to control whether a single thread pool is used and whether timeout control is supported.
SqlParserHandler - Class in org.miaixz.bus.pager.handler
Abstract SQL parsing class that provides functionality for parsing and processing SQL statements.
SqlParserHandler() - Constructor for class org.miaixz.bus.pager.handler.SqlParserHandler
 
SqlServer - Class in org.miaixz.bus.pager.dialect.base
Database dialect for SQL Server.
SqlServer() - Constructor for class org.miaixz.bus.pager.dialect.base.SqlServer
 
SqlServer2012 - Class in org.miaixz.bus.pager.dialect.base
Database dialect for SQL Server 2012 and later versions.
SqlServer2012() - Constructor for class org.miaixz.bus.pager.dialect.base.SqlServer2012
 
SqlServer2012RowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
SQL Server 2012 dialect for pagination based on RowBounds.
SqlServer2012RowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.SqlServer2012RowBounds
 
SqlServerRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
SQL Server dialect for pagination based on RowBounds.
SqlServerRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.SqlServerRowBounds
 
sqlServerSqlParser - Variable in class org.miaixz.bus.pager.dialect.base.SqlServer
SQL Server specific SQL parser for pagination.
sqlServerSqlParser - Variable in class org.miaixz.bus.pager.dialect.rowbounds.SqlServerRowBounds
SQL Server specific SQL parser for pagination.
SqlServerSqlParser - Interface in org.miaixz.bus.pager.parsing
Interface for parsing and converting SQL for SQL Server pagination.
sqlToCount(Select, String) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
Converts a SQL statement to a count query.
START_ROW - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Start row number placeholder.
startPage(int, int) - Static method in class org.miaixz.bus.pager.binding.PageMethod
Starts pagination with a specified page number and page size.
startPage(int, int, boolean) - Static method in class org.miaixz.bus.pager.binding.PageMethod
Starts pagination with a specified page number, page size, and whether to execute a count query.
startPage(int, int, boolean, Boolean, Boolean) - Static method in class org.miaixz.bus.pager.binding.PageMethod
Starts pagination with comprehensive control over page number, page size, count query execution, pagination reasonableness, and zero page size handling.
startPage(int, int, String) - Static method in class org.miaixz.bus.pager.binding.PageMethod
Starts pagination with a specified page number, page size, and order by clause.
startPage(Object) - Static method in class org.miaixz.bus.pager.binding.PageMethod
Starts pagination based on the properties of a given parameter object.
SUFFIX_COUNT - Static variable in class org.miaixz.bus.pager.dialect.AbstractPaging
Suffix for the count query ID, used to identify count MappedStatements.
SUFFIX_PAGE - Static variable in class org.miaixz.bus.pager.dialect.AbstractPaging
Suffix for the page ID, used to identify paginated MappedStatements.
supportMethodsArguments - Variable in class org.miaixz.bus.pager.binding.PageParams
Whether to support passing pagination parameters through method arguments.

T

TABLE_ALIAS - Static variable in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
 
TenantHandler - Class in org.miaixz.bus.pager.handler
Multi-tenancy handler, responsible for adding tenant conditions to SQL statements.
TenantHandler() - Constructor for class org.miaixz.bus.pager.handler.TenantHandler
 
TenantProvider - Interface in org.miaixz.bus.pager.handler
Interface for providing row-level multi-tenancy support.
TOP100_PERCENT - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
TOP 100 PERCENT clause.
toPageInfo() - Method in class org.miaixz.bus.pager.Page
Converts the current Page object to a Paginating object.
toPageInfo(FunctionX<E, T>) - Method in class org.miaixz.bus.pager.Page
Converts the paginated data and returns a Paginating object.
toPageSerializable() - Method in class org.miaixz.bus.pager.Page
Converts the current Page object to a Serialize object.
toPageSerializable(FunctionX<E, T>) - Method in class org.miaixz.bus.pager.Page
Converts the paginated data and returns a Serialize object.
toString() - Method in class org.miaixz.bus.pager.Page
Returns a string representation of the Page object.
toString() - Method in class org.miaixz.bus.pager.Paginating
Returns a string representation of the Paginating object.
toString() - Method in class org.miaixz.bus.pager.Serialize
Returns a string representation of the Serialize object.
total - Variable in class org.miaixz.bus.pager.Serialize
The total number of records.

U

using(String) - Method in class org.miaixz.bus.pager.Page
Specifies the pagination implementation to use.

V

validateSql(String) - Static method in class org.miaixz.bus.pager.handler.SqlParserHandler
Validates an SQL string to prevent potential injection risks.
valueOf(String) - Static method in enum class org.miaixz.bus.pager.builder.BoundSqlBuilder.Type
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.miaixz.bus.pager.builder.BoundSqlBuilder.Type
Returns an array containing the constants of this enum class, in the order they are declared.

W

WITHNOLOCK - Variable in class org.miaixz.bus.pager.dialect.replace.RegexWithNolock
Placeholder for `with(nolock)` during SQL parsing.
WITHNOLOCK - Variable in class org.miaixz.bus.pager.dialect.replace.SimpleWithNolock
Placeholder for `with(nolock)` during SQL parsing.
WRAP_TABLE - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Outer wrapper table name.
wrapSetOperationList(SetOperationList) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
Wraps a SetOperationList.
write(Map<K, V>, long) - Method in class org.miaixz.bus.pager.cache.SimpleCache
Writes multiple key-value pairs to the cache with a specified expiration time.
write(K, V, long) - Method in class org.miaixz.bus.pager.cache.SimpleCache
Writes a key-value pair to the cache with a specified expiration time.

X

Xugudb - Class in org.miaixz.bus.pager.dialect.base
Database dialect for Xugudb.
Xugudb() - Constructor for class org.miaixz.bus.pager.dialect.base.Xugudb
 
XugudbRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
Xugudb dialect for pagination based on RowBounds.
XugudbRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.XugudbRowBounds
 
A B C D E F G H I K L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form