Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAutoDialect<Ds> - Class in org.miaixz.bus.pager.dialect
-
默认实现,使用 Hikari 连接池时,简单获取 jdbcUrl
- AbstractAutoDialect() - Constructor for class org.miaixz.bus.pager.dialect.AbstractAutoDialect
- AbstractDialect - Class in org.miaixz.bus.pager.dialect
-
基于 CountSqlParser 的智能 Count 查询
- AbstractDialect() - Constructor for class org.miaixz.bus.pager.dialect.AbstractDialect
- AbstractPaging - Class in org.miaixz.bus.pager.dialect
-
针对 PageContext 的实现
- AbstractPaging() - Constructor for class org.miaixz.bus.pager.dialect.AbstractPaging
- AbstractRowBounds - Class in org.miaixz.bus.pager.dialect
-
基于 RowBounds 的分页
- AbstractRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.AbstractRowBounds
- addAggregateFunctions(String) - Static method in interface org.miaixz.bus.pager.parsing.CountSqlParser
-
添加到聚合函数,可以是逗号隔开的多个函数前缀
- addRowNumber(PlainSelect, List<SelectItem<?>>) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
获取 ROW_NUMBER() 列
- afterAll() - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
- afterAll() - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
- afterAll() - Method in interface org.miaixz.bus.pager.Dialect
-
完成所有任务后
- afterAll() - Method in class org.miaixz.bus.pager.PageContext
- afterCount(long, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
- afterCount(long, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
- afterCount(long, Object, RowBounds) - Method in interface org.miaixz.bus.pager.Dialect
-
执行完 count 查询后
- afterCount(long, Object, RowBounds) - Method in class org.miaixz.bus.pager.PageContext
- afterPage(List, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
- afterPage(List, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
- afterPage(List, Object, RowBounds) - Method in interface org.miaixz.bus.pager.Dialect
-
分页查询后,处理分页结果,拦截器中直接 return 该方法的返回值
- afterPage(List, Object, RowBounds) - Method in class org.miaixz.bus.pager.PageContext
- AGGREGATE_FUNCTIONS - Static variable in interface org.miaixz.bus.pager.parsing.CountSqlParser
-
聚合函数,以下列函数开头的都认为是聚合函数
- andExpression(Table, Expression, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
-
处理 DELETE 和 UPDATE 语句的 WHERE 条件。
- appendExpression(Expression, Expression) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
-
追加条件表达式,默认追加到后面,可通过 appendMode 配置追加位置。
- appendSelectItem(List<SelectItem<?>>) - Method in class org.miaixz.bus.pager.handler.TenantHandler
-
追加租户列到 SELECT 语句的 SELECT 子句。
- AS400 - Class in org.miaixz.bus.pager.dialect.base
-
AS400
- AS400() - Constructor for class org.miaixz.bus.pager.dialect.base.AS400
- asyncCount() - Method in class org.miaixz.bus.pager.Page
-
检查是否启用异步count查询。
- asyncCount(boolean) - Method in class org.miaixz.bus.pager.Page
-
设置是否启用异步count查询。
- asyncCountTask(Callable<T>) - Method in interface org.miaixz.bus.pager.Dialect
-
执行异步 count 查询
- asyncCountTask(Callable<T>) - Method in class org.miaixz.bus.pager.PageContext
- AutoDialect<K> - Interface in org.miaixz.bus.pager.dialect
-
自动获取方言
- autoGetDialect(MappedStatement) - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
-
自动获取分页方言实现。
B
- beforeCount(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
- beforeCount(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
- beforeCount(MappedStatement, Object, RowBounds) - Method in interface org.miaixz.bus.pager.Dialect
-
执行分页前,返回 true 会进行 count 查询,false 会继续下面的 beforePage 判断
- beforeCount(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.PageContext
- beforePage(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
- beforePage(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
- beforePage(MappedStatement, Object, RowBounds) - Method in interface org.miaixz.bus.pager.Dialect
-
执行分页前,返回 true 会进行分页查询,false 会返回默认查询结果
- beforePage(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.PageContext
- boundSql(BoundSqlBuilder.Type, BoundSql, CacheKey, BoundSqlBuilder.Chain) - Method in interface org.miaixz.bus.pager.builder.BoundSqlBuilder
-
boundsql 处理
- BoundSqlBuilder - Interface in org.miaixz.bus.pager.builder
-
BoundSql 处理器
- BoundSqlBuilder.Chain - Interface in org.miaixz.bus.pager.builder
-
处理器链,可以控制是否继续执行
- BoundSqlBuilder.Type - Enum Class in org.miaixz.bus.pager.builder
- BoundSqlChainBuilder - Class in org.miaixz.bus.pager.builder
- BoundSqlChainBuilder(BoundSqlBuilder.Chain, List<BoundSqlBuilder>) - Constructor for class org.miaixz.bus.pager.builder.BoundSqlChainBuilder
- boundSqlInterceptor(BoundSqlBuilder) - Method in class org.miaixz.bus.pager.Page
-
设置BoundSql拦截器。
- Builder - Class in org.miaixz.bus.pager
-
公共方法
- Builder() - Constructor for class org.miaixz.bus.pager.Builder
- builderExpression(Expression, List<Table>, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
-
构建并处理条件表达式。
- buildTableExpression(Table, Expression, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
-
构建数据库表的查询条件。
- buildTableExpression(Table, Expression, String) - Method in class org.miaixz.bus.pager.handler.PermissionsHandler
-
构建表级权限表达式
- buildTableExpression(Table, Expression, String) - Method in class org.miaixz.bus.pager.handler.TenantHandler
-
构建租户条件表达式(如 tenant_id = ?)。
- bus.pager - module bus.pager
-
bus.pager
C
- CACHE_COUNTSQL - Variable in class org.miaixz.bus.pager.dialect.base.SqlServer
- CACHE_PAGESQL - Variable in class org.miaixz.bus.pager.dialect.base.SqlServer
- CacheFactory - Class in org.miaixz.bus.pager.cache
-
CacheFactory
- CacheFactory() - Constructor for class org.miaixz.bus.pager.cache.CacheFactory
- calcByNavigatePages(int) - Method in class org.miaixz.bus.pager.Paginating
-
根据导航页码数计算分页属性。
- checkWhere(String, Expression, String) - Method in class org.miaixz.bus.pager.handler.OperationHandler
-
检查 WHERE 条件是否有效,防止全表操作。
- CirroData - Class in org.miaixz.bus.pager.dialect.base
-
CirroData
- CirroData() - Constructor for class org.miaixz.bus.pager.dialect.base.CirroData
- clear() - Method in class org.miaixz.bus.pager.cache.GuavaCache
- clear() - Method in class org.miaixz.bus.pager.cache.SimpleCache
- clearDelegate() - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
-
清除线程本地方言代理。
- clearPage() - Static method in class org.miaixz.bus.pager.binding.PageMethod
-
清除当前线程的分页参数。
- cloneOrderByElement(OrderByElement, String) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
复制 OrderByElement
- cloneOrderByElement(OrderByElement, Expression) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
复制 OrderByElement
- close() - Method in class org.miaixz.bus.pager.Page
-
关闭Page对象,清理分页上下文。
- ConditionHandler - Class in org.miaixz.bus.pager.handler
-
条件:多表条件处理基类,提供处理 SELECT、UPDATE、DELETE 语句并根据表元数据追加条件的方法。
- ConditionHandler() - Constructor for class org.miaixz.bus.pager.handler.ConditionHandler
- convert(FunctionX<T, E>) - Method in class org.miaixz.bus.pager.Paginating
-
转换分页数据类型。
- converToOrderBySql(String, String) - Method in class org.miaixz.bus.pager.parsing.DefaultOrderBySqlParser
-
convert to order by sql
- converToOrderBySql(String, String) - Method in interface org.miaixz.bus.pager.parsing.OrderBySqlParser
- convertToPageSql(String) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
转换为分页语句
- convertToPageSql(String, Integer, Integer) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
转换为分页语句
- convertToPageSql(String, Integer, Integer) - Method in interface org.miaixz.bus.pager.parsing.SqlServerSqlParser
- count(Boolean) - Method in class org.miaixz.bus.pager.Page
-
设置是否执行count查询。
- count(Querying) - Static method in class org.miaixz.bus.pager.binding.PageMethod
-
获取任意查询的count总数。
- COUNT_SQL - Enum constant in enum class org.miaixz.bus.pager.builder.BoundSqlBuilder.Type
-
count SQL,第二个执行这里
- countColumn - Variable in class org.miaixz.bus.pager.binding.PageParams
-
默认count查询列,默认为"0"
- countColumn(String) - Method in class org.miaixz.bus.pager.Page
-
指定count查询列。
- CountExecutor - Class in org.miaixz.bus.pager.binding
-
count 查询
- CountExecutor() - Constructor for class org.miaixz.bus.pager.binding.CountExecutor
- CountMappedStatement - Class in org.miaixz.bus.pager.binding
-
创建新的MappedStatement,主要是Count返回值int
- CountMappedStatement() - Constructor for class org.miaixz.bus.pager.binding.CountMappedStatement
- CountMsId - Interface in org.miaixz.bus.pager.binding
-
构建当前查询对应的 count 方法 id 返回的 msId 会先判断是否存在自定义的方法,存在就直接使用 如果不存在,会根据当前的 msId 创建 MappedStatement
- countSqlParser - Variable in class org.miaixz.bus.pager.dialect.AbstractDialect
-
处理SQL
- CountSqlParser - Interface in org.miaixz.bus.pager.parsing
-
sql解析类,提供更智能的count查询sql
- createCache(String, String, Properties) - Static method in class org.miaixz.bus.pager.cache.CacheFactory
-
创建 SQL 缓存
- current() - Static method in class org.miaixz.bus.pager.Builder
-
当前方法堆栈信息
D
- dataSourceClass - Variable in class org.miaixz.bus.pager.dialect.AbstractAutoDialect
- Db2 - Class in org.miaixz.bus.pager.dialect.base
-
数据库方言 db2
- Db2() - Constructor for class org.miaixz.bus.pager.dialect.base.Db2
- Db2RowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
-
db2 基于 RowBounds 的分页
- Db2RowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.Db2RowBounds
- debugStackTraceLog() - Method in class org.miaixz.bus.pager.handler.PaginationHandler
-
在调试模式下记录分页调用堆栈。
- Defalut - Class in org.miaixz.bus.pager.dialect.auto
-
遍历所有实现,找到匹配的实现
- Defalut() - Constructor for class org.miaixz.bus.pager.dialect.auto.Defalut
- DEFAULT - Static variable in interface org.miaixz.bus.pager.binding.CountMsId
-
默认实现
- DEFAULT - Static variable in class org.miaixz.bus.pager.dialect.auto.Early
- DEFAULT - Static variable in interface org.miaixz.bus.pager.parsing.SqlParser
-
不使用单线程池,不支持超时控制
- DEFAULT_COUNT - Static variable in class org.miaixz.bus.pager.binding.PageMethod
-
默认是否执行count查询
- DEFAULT_NAVIGATE_PAGES - Static variable in class org.miaixz.bus.pager.Paginating
-
默认导航页码数
- DEFAULT_OBJECT_FACTORY - Static variable in class org.miaixz.bus.pager.binding.MetaObjectWithCache
- DEFAULT_OBJECT_WRAPPER_FACTORY - Static variable in class org.miaixz.bus.pager.binding.MetaObjectWithCache
- DEFAULT_REFLECTOR_FACTORY - Static variable in class org.miaixz.bus.pager.binding.MetaObjectWithCache
- DefaultCountSqlParser - Class in org.miaixz.bus.pager.parsing
-
sql解析类,提供更智能的count查询sql
- DefaultCountSqlParser() - Constructor for class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
- DefaultOrderBySqlParser - Class in org.miaixz.bus.pager.parsing
-
处理 Order by
- DefaultOrderBySqlParser() - Constructor for class org.miaixz.bus.pager.parsing.DefaultOrderBySqlParser
- DefaultSqlServerSqlParser - Class in org.miaixz.bus.pager.parsing
-
将sqlserver查询语句转换为分页语句 注意事项: 请先保证你的SQL可以执行 sql中最好直接包含order by,可以自动从sql提取 如果没有order by,可以通过入参提供,但是需要自己保证正确 如果sql有order by,可以通过orderby参数覆盖sql中的order by order by的列名不能使用别名 表和列使用别名的时候不要使用单引号(') 该类设计为一个独立的工具类,依赖jsqlparser,可以独立使用
- DefaultSqlServerSqlParser() - Constructor for class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
- Dialect - Interface in org.miaixz.bus.pager
-
数据库方言,针对不同数据库进行实现
- disableAsyncCount() - Method in class org.miaixz.bus.pager.Page
-
禁用异步count查询。
- DO_NOTHING - Static variable in interface org.miaixz.bus.pager.builder.BoundSqlBuilder.Chain
- doBoundSql(BoundSqlBuilder.Type, BoundSql, CacheKey) - Method in interface org.miaixz.bus.pager.builder.BoundSqlBuilder.Chain
- doBoundSql(BoundSqlBuilder.Type, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.builder.BoundSqlChainBuilder
- doBoundSql(BoundSqlBuilder.Type, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.PageContext
- doCount(Querying) - Method in class org.miaixz.bus.pager.Page
-
执行count查询。
- doSelect() - Method in interface org.miaixz.bus.pager.Querying
-
在接口中调用自己的查询方法,不要在该方法内写过多代码,只要一行查询方法最好
- doSelectPage(Querying) - Method in class org.miaixz.bus.pager.Page
-
执行分页查询。
- doSelectPageInfo(Querying) - Method in class org.miaixz.bus.pager.Page
-
执行分页查询并返回Paginating对象。
- doSelectPageSerializable(Querying) - Method in class org.miaixz.bus.pager.Page
-
执行分页查询并返回Serialize对象。
- Druid - Class in org.miaixz.bus.pager.dialect.auto
-
Druid
- Druid() - Constructor for class org.miaixz.bus.pager.dialect.auto.Druid
E
- Early - Class in org.miaixz.bus.pager.dialect.auto
-
早期版本默认实现,获取连接再获取 url,这种方式通用性强,但是性能低,处理不好关闭连接时容易出问题
- Early() - Constructor for class org.miaixz.bus.pager.dialect.auto.Early
- emptyPageInfo() - Static method in class org.miaixz.bus.pager.Paginating
-
静态工厂方法,返回空的Paginating对象。
- enableAsyncCount() - Method in class org.miaixz.bus.pager.Page
-
启用异步count查询。
- executeAutoCount(Dialect, Executor, MappedStatement, Object, BoundSql, RowBounds, ResultHandler) - Static method in class org.miaixz.bus.pager.binding.CountExecutor
-
执行自动生成的 count 查询
- executeManualCount(Executor, MappedStatement, Object, BoundSql, ResultHandler) - Static method in class org.miaixz.bus.pager.binding.CountExecutor
-
执行手动设置的 count 查询,该查询支持的参数必须和被分页的方法相同
- extractDialect(String, MappedStatement, DataSource, Properties) - Method in class org.miaixz.bus.pager.dialect.AbstractAutoDialect
- extractDialect(String, MappedStatement, DataSource, Properties) - Method in class org.miaixz.bus.pager.dialect.auto.Defalut
- extractDialect(String, MappedStatement, DataSource, Properties) - Method in class org.miaixz.bus.pager.dialect.auto.Early
- extractDialect(K, MappedStatement, DataSource, Properties) - Method in interface org.miaixz.bus.pager.dialect.AutoDialect
-
提取 dialect
- extractDialectKey(MappedStatement, DataSource, Properties) - Method in class org.miaixz.bus.pager.dialect.AbstractAutoDialect
- extractDialectKey(MappedStatement, DataSource, Properties) - Method in class org.miaixz.bus.pager.dialect.auto.Defalut
- extractDialectKey(MappedStatement, DataSource, Properties) - Method in class org.miaixz.bus.pager.dialect.auto.Early
- 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
-
extra order by and set default orderby to null
F
- Firebird - Class in org.miaixz.bus.pager.dialect.base
-
firebirdsql数据库
- Firebird() - Constructor for class org.miaixz.bus.pager.dialect.base.Firebird
- forObject(Object) - Static method in class org.miaixz.bus.pager.binding.MetaObject
- forObject(Object) - Static method in class org.miaixz.bus.pager.binding.MetaObjectWithCache
- fromJdbcUrl(String) - Static method in class org.miaixz.bus.pager.binding.PageAutoDialect
-
从JDBC URL提取方言名称。
G
- genCountMsId(MappedStatement, Object, BoundSql, String) - Method in interface org.miaixz.bus.pager.binding.CountMsId
-
构建当前查询对应的 count 方法 id
- getAdditionalParameter(BoundSql) - Static method in class org.miaixz.bus.pager.binding.CountExecutor
-
获取 BoundSql 属性值 additionalParameters
- getAliasColumn(Table) - Method in class org.miaixz.bus.pager.handler.TenantHandler
-
获取租户列名,带表别名(若存在)。
- getAsyncCount() - Method in class org.miaixz.bus.pager.Page
-
获取是否启用异步count查询。
- getBoundSqlInterceptor() - Method in class org.miaixz.bus.pager.Page
-
获取BoundSql拦截器。
- getChain() - Method in class org.miaixz.bus.pager.builder.PageBoundSqlBuilder
-
获取 BoundSql 处理器链
- getColumn() - Method in interface org.miaixz.bus.pager.handler.TenantProvider
-
获取租户字段名
- getCount() - Method in class org.miaixz.bus.pager.RowBounds
-
获取是否执行count查询。
- getCountColumn() - Method in class org.miaixz.bus.pager.binding.PageParams
-
获取count查询列名。
- getCountColumn() - Method in class org.miaixz.bus.pager.Page
-
获取count查询列名。
- getCountSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractDialect
- getCountSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
- getCountSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer
- getCountSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in interface org.miaixz.bus.pager.Dialect
-
生成 count 查询 sql
- getCountSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.SqlServerRowBounds
- getCountSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.PageContext
- getDelegate() - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
-
获取当前方言代理对象。
- getDialect() - Method in class org.miaixz.bus.pager.handler.PaginationHandler
-
获取当前分页方言。
- getDialectClass() - Method in class org.miaixz.bus.pager.Page
-
获取分页实现类。
- getDialectThreadLocal() - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
-
获取线程本地方言实例。
- getEndRow() - Method in class org.miaixz.bus.pager.Page
-
获取末行位置。
- getEndRow() - Method in class org.miaixz.bus.pager.Paginating
-
获取当前页面最后一个元素的行号。
- getExistedMappedStatement(Configuration, String) - Static method in class org.miaixz.bus.pager.binding.CountExecutor
-
尝试获取已经存在的在 MS,提供对手写count和page的支持
- getJdbcUrl(DruidDataSource) - Method in class org.miaixz.bus.pager.dialect.auto.Druid
- getJdbcUrl(HikariDataSource) - Method in class org.miaixz.bus.pager.dialect.auto.Hikari
- getJdbcUrl(Ds) - Method in class org.miaixz.bus.pager.dialect.AbstractAutoDialect
- getKeepOrderBy() - Method in class org.miaixz.bus.pager.Page
-
获取是否保留count查询的order by排序。
- getKeepSubSelectOrderBy() - Method in class org.miaixz.bus.pager.Page
-
获取是否保留子查询的order by排序。
- getList() - Method in class org.miaixz.bus.pager.Serialize
-
获取分页结果集。
- getLocalPage() - Static method in class org.miaixz.bus.pager.binding.PageMethod
-
获取当前线程的分页参数。
- getLocalPage() - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
-
获取分页参数
- getNavigateFirstPage() - Method in class org.miaixz.bus.pager.Paginating
-
获取导航条上的第一页。
- getNavigateLastPage() - Method in class org.miaixz.bus.pager.Paginating
-
获取导航条上的最后一页。
- getNavigatepageNo() - Method in class org.miaixz.bus.pager.Paginating
-
获取导航页码数组。
- getNavigatePages() - Method in class org.miaixz.bus.pager.Paginating
-
获取导航页码数。
- getNextPage() - Method in class org.miaixz.bus.pager.Paginating
-
获取下一页页码。
- getOrderBy() - Method in class org.miaixz.bus.pager.Page
-
获取排序字段。
- getOrderBy() - Method in class org.miaixz.bus.pager.PageParam
-
获取排序字段。
- getOrderBy() - Method in interface org.miaixz.bus.pager.Paging
- getOrderByElements(PlainSelect, List<SelectItem<?>>) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
获取新的排序列表
- getPage(Object, RowBounds) - Method in class org.miaixz.bus.pager.binding.PageParams
-
获取分页参数对象。
- getPageFromObject(Object, boolean) - Static method in class org.miaixz.bus.pager.binding.PageObject
-
对象中获取分页参数
- getPageNo() - Method in class org.miaixz.bus.pager.Page
-
获取当前页码。
- getPageNo() - Method in class org.miaixz.bus.pager.PageParam
-
获取页码。
- getPageNo() - Method in class org.miaixz.bus.pager.Paginating
-
获取当前页码。
- getPageNo() - Method in interface org.miaixz.bus.pager.Paging
- getPages() - Method in class org.miaixz.bus.pager.Page
-
获取总页数。
- getPages() - Method in class org.miaixz.bus.pager.Paginating
-
获取总页数。
- getPageSelect(Select) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
获取一个外层包装的TOP查询
- getPageSize() - Method in class org.miaixz.bus.pager.Page
-
获取页面大小。
- getPageSize() - Method in class org.miaixz.bus.pager.PageParam
-
获取每页记录数。
- getPageSize() - Method in class org.miaixz.bus.pager.Paginating
-
获取每页记录数。
- getPageSize() - Method in interface org.miaixz.bus.pager.Paging
- getPageSizeZero() - Method in class org.miaixz.bus.pager.Page
-
获取pageSizeZero开关状态。
- getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
- getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.Db2RowBounds
- getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.HerdDBRowBounds
- getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.HsqldbRowBounds
- getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.InformixRowBounds
- getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.MySqlRowBounds
- getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.OracleRowBounds
- getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.PostgreSqlRowBounds
-
构建 PostgreSQL分页查询语句
- getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.SqlServer2012RowBounds
- getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.SqlServerRowBounds
- getPageSql(String, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.rowbounds.XugudbRowBounds
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
-
单独处理分页部分
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.AS400
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.CirroData
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Db2
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Firebird
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.HerdDB
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Hsqldb
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Informix
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.MySql
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Oracle
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Oracle9i
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Oscar
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.PostgreSql
-
构建 PostgreSQL分页查询语句
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer2012
- getPageSql(String, Page, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Xugudb
- getPageSql(String, Page, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.PageContext
- getPageSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
- getPageSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
- getPageSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer
-
分页查询,Pager转换SQL时报错with(nolock)不识别的问题, 重写父类AbstractPaging.getPageSql转换出错的方法。
- getPageSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in interface org.miaixz.bus.pager.Dialect
-
生成分页查询 sql
- getPageSql(MappedStatement, BoundSql, Object, RowBounds, CacheKey) - Method in class org.miaixz.bus.pager.PageContext
- getParameterMap - Static variable in class org.miaixz.bus.pager.binding.PageObject
- getParamValue(MetaObject, String, boolean) - Static method in class org.miaixz.bus.pager.binding.PageObject
-
从对象中取参数
- getPrePage() - Method in class org.miaixz.bus.pager.Paginating
-
获取前一页页码。
- getProvider() - Method in class org.miaixz.bus.pager.handler.PermissionsHandler
-
获取数据权限提供者
- getProvider() - Method in class org.miaixz.bus.pager.handler.TenantHandler
-
获取租户服务。
- getProviderMethodArgumentNames(ProviderSqlSource) - Static method in class org.miaixz.bus.pager.binding.CountExecutor
-
获取 ProviderSqlSource 属性值 providerMethodArgumentNames
- getReasonable() - Method in class org.miaixz.bus.pager.Page
-
获取分页合理化开关状态。
- getResult() - Method in class org.miaixz.bus.pager.Page
-
获取分页结果集。
- getSelectItems(PlainSelect) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
获取查询列
- getSimpleCountSql(String) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
-
获取简单的 COUNT SQL,适用于无法解析或复杂场景。
- getSimpleCountSql(String, String) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
-
获取简单的 COUNT SQL,指定 COUNT 列名。
- getSize() - Method in class org.miaixz.bus.pager.Paginating
-
获取当前页记录数。
- getSmartCountSql(String) - Method in interface org.miaixz.bus.pager.parsing.CountSqlParser
-
获取智能的countSql
- getSmartCountSql(String, String) - Method in interface org.miaixz.bus.pager.parsing.CountSqlParser
-
获取智能的countSql
- getSmartCountSql(String, String) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
-
获取智能的 COUNT SQL,自动检测是否需要保留 ORDER BY。
- getSqlSegment(Table, Expression, String) - Method in interface org.miaixz.bus.pager.handler.PermissionsProvider
-
获取数据权限SQL片段
- getStackTrace() - Method in class org.miaixz.bus.pager.Page
-
获取创建Page对象的堆栈信息。
- getStartRow() - Method in class org.miaixz.bus.pager.Page
-
获取起始行位置。
- getStartRow() - Method in class org.miaixz.bus.pager.Paginating
-
获取当前页面第一个元素的行号。
- getTenantId() - Method in interface org.miaixz.bus.pager.handler.TenantProvider
-
获取租户 ID 值表达式,仅支持单个 ID 值
- getTotal() - Method in class org.miaixz.bus.pager.Page
-
获取总记录数。
- getTotal() - Method in class org.miaixz.bus.pager.RowBounds
-
获取总记录数。
- getTotal() - Method in class org.miaixz.bus.pager.Serialize
-
获取总记录数。
- getUpdateOrDeleteExpression(Table, Expression, String) - Method in class org.miaixz.bus.pager.handler.PermissionsHandler
-
获取UPDATE或DELETE语句的权限表达式
- GuavaCache<K,
V> - Class in org.miaixz.bus.pager.cache -
Simple Guava Cache
- GuavaCache(Properties, String) - Constructor for class org.miaixz.bus.pager.cache.GuavaCache
H
- handleParameter(BoundSql, MappedStatement, Class<?>, Class<?>) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
- hasContent() - Method in class org.miaixz.bus.pager.Paginating
-
检查是否包含数据。
- hasRequest - Static variable in class org.miaixz.bus.pager.binding.PageObject
-
request获取方法
- HerdDB - Class in org.miaixz.bus.pager.dialect.base
-
数据库方言 herddb
- HerdDB() - Constructor for class org.miaixz.bus.pager.dialect.base.HerdDB
- HerdDBRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
-
HerdDB 基于 RowBounds 的分页
- HerdDBRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.HerdDBRowBounds
- Hikari - Class in org.miaixz.bus.pager.dialect.auto
-
Hikari
- Hikari() - Constructor for class org.miaixz.bus.pager.dialect.auto.Hikari
- Hsqldb - Class in org.miaixz.bus.pager.dialect.base
-
数据库方言 hsqldb
- Hsqldb() - Constructor for class org.miaixz.bus.pager.dialect.base.Hsqldb
- HsqldbRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
-
hsqldb 基于 RowBounds 的分页
- HsqldbRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.HsqldbRowBounds
I
- ignore(String) - Method in interface org.miaixz.bus.pager.handler.TenantProvider
-
判断是否忽略表的多租户条件拼接
- ignore(List<Column>, String) - Method in interface org.miaixz.bus.pager.handler.TenantProvider
-
判断是否忽略插入租户字段
- Informix - Class in org.miaixz.bus.pager.dialect.base
-
数据库方言 informix
- Informix() - Constructor for class org.miaixz.bus.pager.dialect.base.Informix
- InformixRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
-
informix 基于 RowBounds 的分页
- InformixRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.InformixRowBounds
- initDelegateDialect(MappedStatement, String) - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
-
初始化方言代理,支持运行时指定方言。
- instanceDialect(String, Properties) - Static method in class org.miaixz.bus.pager.binding.PageAutoDialect
-
实例化方言对象。
- isAsyncCount() - Method in class org.miaixz.bus.pager.binding.PageParams
-
是否启用异步count查询。
- isAsyncCount() - Method in interface org.miaixz.bus.pager.Dialect
-
是否使用异步 count 查询,使用异步后不会根据返回的 count 数来判断是否有必要进行分页查询
- isAsyncCount() - Method in class org.miaixz.bus.pager.PageContext
- isCount() - Method in class org.miaixz.bus.pager.Page
-
是否执行count查询。
- isDebug() - Method in class org.miaixz.bus.pager.handler.PaginationHandler
-
检查是否启用调试模式。
- isHasNextPage() - Method in class org.miaixz.bus.pager.Paginating
-
是否有下一页。
- isHasPreviousPage() - Method in class org.miaixz.bus.pager.Paginating
-
是否有前一页。
- isIsFirstPage() - Method in class org.miaixz.bus.pager.Paginating
-
是否为第一页。
- isIsLastPage() - Method in class org.miaixz.bus.pager.Paginating
-
是否为最后一页。
- isNotEmptyList(List<?>) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
List不空
- isOffsetAsPageNo() - Method in class org.miaixz.bus.pager.binding.PageParams
-
是否将offset作为页码使用。
- isOrderByOnly() - Method in class org.miaixz.bus.pager.Page
-
是否仅增加排序。
- isPageSizeZero() - Method in class org.miaixz.bus.pager.binding.PageParams
-
是否在pageSize为0时返回全部结果。
- isQuery(Executor, MappedStatement, Object, RowBounds, ResultHandler, BoundSql) - Method in class org.miaixz.bus.pager.handler.PaginationHandler
-
判断是否需要执行分页查询。
- isReasonable() - Method in class org.miaixz.bus.pager.binding.PageParams
-
是否启用分页合理化。
- isRowBoundsWithCount() - Method in class org.miaixz.bus.pager.binding.PageParams
-
RowBounds是否执行count查询。
- isSimpleCount(PlainSelect) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
-
判断是否可以使用简单的 COUNT 查询方式。
- isSupportMethodsArguments() - Method in class org.miaixz.bus.pager.binding.PageParams
-
是否支持接口参数传递分页参数。
K
- KEEP_ORDERBY - Static variable in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
- keepOrderBy() - Method in class org.miaixz.bus.pager.Page
-
检查是否保留count查询的order by排序。
- keepOrderBy() - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
-
检查是否需要保留 ORDER BY。
- keepOrderBy(boolean) - Method in class org.miaixz.bus.pager.Page
-
设置是否保留count查询的order by排序。
- keepSubSelectOrderBy() - Method in class org.miaixz.bus.pager.Page
-
检查是否保留子查询的order by排序。
- keepSubSelectOrderBy() - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
-
检查是否需要保留子查询的 ORDER BY。
- keepSubSelectOrderBy(boolean) - Method in class org.miaixz.bus.pager.Page
-
设置是否保留子查询的order by排序。
L
- list - Variable in class org.miaixz.bus.pager.Serialize
-
分页结果集
- LOCAL_PAGE - Static variable in class org.miaixz.bus.pager.binding.PageMethod
-
存储当前线程的分页参数
M
- MetaObject - Class in org.miaixz.bus.pager.binding
- MetaObject() - Constructor for class org.miaixz.bus.pager.binding.MetaObject
- MetaObjectWithCache - Class in org.miaixz.bus.pager.binding
-
反射带缓存,提高反射性能
- MetaObjectWithCache() - Constructor for class org.miaixz.bus.pager.binding.MetaObjectWithCache
- method - Static variable in class org.miaixz.bus.pager.binding.MetaObject
- MySql - Class in org.miaixz.bus.pager.dialect.base
-
数据库方言 mysql
- MySql() - Constructor for class org.miaixz.bus.pager.dialect.base.MySql
- MySqlRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
-
mysql 基于 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
-
新建count查询的MappedStatement
- newInstance(Class<T>, Properties) - Static method in class org.miaixz.bus.pager.Builder
- newInstance(String, Class<T>, Properties, Supplier<T>) - Static method in class org.miaixz.bus.pager.Builder
-
支持配置和SPI,优先级:配置类 > SPI > 默认值
- newInstance(String, Properties) - Static method in class org.miaixz.bus.pager.Builder
O
- of(long, List<? extends T>) - Static method in class org.miaixz.bus.pager.Paginating
-
静态工厂方法,创建Paginating对象并指定总记录数。
- of(List<? extends T>) - Static method in class org.miaixz.bus.pager.Paginating
-
静态工厂方法,创建Paginating对象。
- of(List<? extends T>) - Static method in class org.miaixz.bus.pager.Serialize
-
静态工厂方法,创建Serialize对象。
- of(List<? extends T>, int) - Static method in class org.miaixz.bus.pager.Paginating
-
静态工厂方法,创建Paginating对象并指定导航页码数。
- offsetAsPageNo - Variable in class org.miaixz.bus.pager.binding.PageParams
-
是否将RowBounds的offset作为页码使用,默认false
- offsetPage(int, int) - Static method in class org.miaixz.bus.pager.binding.PageMethod
-
开始分页,基于偏移量和限制数。
- offsetPage(int, int, boolean) - Static method in class org.miaixz.bus.pager.binding.PageMethod
-
开始分页,基于偏移量、限制数和是否执行count查询。
- OperationHandler<T> - Class in org.miaixz.bus.pager.handler
-
操作:防止全表更新与删除
- OperationHandler() - Constructor for class org.miaixz.bus.pager.handler.OperationHandler
- Oracle - Class in org.miaixz.bus.pager.dialect.base
-
数据库方言 oracle
- Oracle() - Constructor for class org.miaixz.bus.pager.dialect.base.Oracle
- Oracle9i - Class in org.miaixz.bus.pager.dialect.base
-
数据库方言 oracle9i
- Oracle9i() - Constructor for class org.miaixz.bus.pager.dialect.base.Oracle9i
- OracleRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
-
oracle 基于 RowBounds 的分页
- OracleRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.OracleRowBounds
- orderBy(String) - Static method in class org.miaixz.bus.pager.binding.PageMethod
-
设置排序字段。
- orderByHashParameters(List<OrderByElement>) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
-
判断 ORDER BY 是否包含参数(?)。
- orderBySqlParser - Variable in class org.miaixz.bus.pager.dialect.AbstractDialect
- OrderBySqlParser - Interface in org.miaixz.bus.pager.parsing
-
处理 Order by
- org.miaixz.bus.pager - package org.miaixz.bus.pager
-
MyBatis 分页插件
- org.miaixz.bus.pager.binding - package org.miaixz.bus.pager.binding
-
分页内部处理
- org.miaixz.bus.pager.builder - package org.miaixz.bus.pager.builder
- org.miaixz.bus.pager.cache - package org.miaixz.bus.pager.cache
-
分页缓存
- org.miaixz.bus.pager.dialect - package org.miaixz.bus.pager.dialect
-
数据库分页方言
- org.miaixz.bus.pager.dialect.auto - package org.miaixz.bus.pager.dialect.auto
-
分页插件
- org.miaixz.bus.pager.dialect.base - package org.miaixz.bus.pager.dialect.base
-
分页方言实现
- org.miaixz.bus.pager.dialect.replace - package org.miaixz.bus.pager.dialect.replace
-
正则处理with(nolock)
- org.miaixz.bus.pager.dialect.rowbounds - package org.miaixz.bus.pager.dialect.rowbounds
-
RowBounds处理
- org.miaixz.bus.pager.handler - package org.miaixz.bus.pager.handler
-
分页插件
- org.miaixz.bus.pager.parsing - package org.miaixz.bus.pager.parsing
-
分页插件sql转换
- ORIGINAL - Enum constant in enum class org.miaixz.bus.pager.builder.BoundSqlBuilder.Type
-
原始SQL,分页插件执行前,先执行这个类型
- Oscar - Class in org.miaixz.bus.pager.dialect.base
-
数据库方言 oscar
- Oscar() - Constructor for class org.miaixz.bus.pager.dialect.base.Oscar
P
- Page<E> - Class in org.miaixz.bus.pager
-
MyBatis分页对象,支持分页查询及结果集管理。
- Page() - Constructor for class org.miaixz.bus.pager.Page
-
默认构造函数。
- Page(int[], boolean) - Constructor for class org.miaixz.bus.pager.Page
-
构造函数,基于行范围分页。
- Page(int, int) - Constructor for class org.miaixz.bus.pager.Page
-
构造函数,指定页码和页面大小。
- Page(int, int, boolean) - Constructor for class org.miaixz.bus.pager.Page
-
构造函数,指定页码、页面大小和是否执行count查询。
- PAGE_COLUMN_ALIAS_PREFIX - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
别名前缀
- PAGE_ROW_NUMBER - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
行号
- PAGE_ROW_NUMBER_COLUMN - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
行号列
- PAGE_SIZE - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
结束行号
- PAGE_SQL - Enum constant in enum class org.miaixz.bus.pager.builder.BoundSqlBuilder.Type
-
分页 SQL,最后执行这里
- PAGE_TABLE_ALIAS - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
别名
- PAGE_TABLE_NAME - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
表别名名字
- PageAutoDialect - Class in org.miaixz.bus.pager.binding
-
提供数据库分页方言的自动识别和配置功能。
- PageAutoDialect() - Constructor for class org.miaixz.bus.pager.binding.PageAutoDialect
- PageBoundSqlBuilder - Class in org.miaixz.bus.pager.builder
-
BoundSql 拦截器链配置器,负责初始化和管理 SQL 绑定处理器链
- PageBoundSqlBuilder() - Constructor for class org.miaixz.bus.pager.builder.PageBoundSqlBuilder
- PageContext - Class in org.miaixz.bus.pager
-
Mybatis - 通用分页拦截器
- PageContext() - Constructor for class org.miaixz.bus.pager.PageContext
- PageMethod - Class in org.miaixz.bus.pager.binding
-
提供基础分页方法,用于配置和管理MyBatis分页查询。
- PageMethod() - Constructor for class org.miaixz.bus.pager.binding.PageMethod
- pageNo(int) - Method in class org.miaixz.bus.pager.Page
-
设置页码。
- PageObject - Class in org.miaixz.bus.pager.binding
-
分页参数对象工具类
- PageObject() - Constructor for class org.miaixz.bus.pager.binding.PageObject
- PageParam - Class in org.miaixz.bus.pager
-
分页参数基类,继承该类以便更直接地控制分页参数。
- PageParam() - Constructor for class org.miaixz.bus.pager.PageParam
-
默认构造函数。
- PageParam(Integer, Integer) - Constructor for class org.miaixz.bus.pager.PageParam
-
构造函数,指定页码和每页记录数。
- PageParam(Integer, Integer, String) - Constructor for class org.miaixz.bus.pager.PageParam
-
构造函数,指定页码、每页记录数和排序字段。
- PAGEPARAMETER_FIRST - Static variable in class org.miaixz.bus.pager.dialect.AbstractPaging
-
第一个分页参数
- PAGEPARAMETER_SECOND - Static variable in class org.miaixz.bus.pager.dialect.AbstractPaging
-
第二个分页参数
- PageParams - Class in org.miaixz.bus.pager.binding
-
分页参数配置类,负责管理和解析分页相关参数。
- 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
-
分页查询
- pageSize(int) - Method in class org.miaixz.bus.pager.Page
-
设置页面大小。
- pageSizeZero - Variable in class org.miaixz.bus.pager.binding.PageParams
-
当为true且pageSize为0(或RowBounds的limit=0)时,返回全部结果
- pageSizeZero(Boolean) - Method in class org.miaixz.bus.pager.Page
-
设置pageSizeZero开关。
- Paginating<T> - Class in org.miaixz.bus.pager
-
对Page结果进行包装,新增分页相关属性以支持导航和页面信息展示。
- Paginating() - Constructor for class org.miaixz.bus.pager.Paginating
-
默认构造函数。
- Paginating(List<? extends T>) - Constructor for class org.miaixz.bus.pager.Paginating
-
构造函数,包装分页结果。
- Paginating(List<? extends T>, int) - Constructor for class org.miaixz.bus.pager.Paginating
-
构造函数,包装分页结果并指定导航页码数。
- PaginationHandler - Class in org.miaixz.bus.pager.handler
-
分页:查询的分页
- PaginationHandler() - Constructor for class org.miaixz.bus.pager.handler.PaginationHandler
- Paging - Interface in org.miaixz.bus.pager
-
分页接口
- PARAMS - Static variable in class org.miaixz.bus.pager.binding.PageObject
- parse(String) - Static method in class org.miaixz.bus.pager.Builder
- parse(String) - Static method in class org.miaixz.bus.pager.handler.SqlParserHandler
-
解析单个SQL语句。
- parse(String) - Method in interface org.miaixz.bus.pager.parsing.SqlParser
-
解析 SQL
- parserMulti(String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
-
解析并处理多个SQL语句。
- parserSingle(String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
-
解析并处理单个SQL语句。
- parseStatements(String) - Static method in class org.miaixz.bus.pager.handler.SqlParserHandler
-
解析多个SQL语句。
- PermissionsHandler - Class in org.miaixz.bus.pager.handler
-
数据权限处理器 用于处理SQL语句中的数据权限控制,动态添加权限条件
- PermissionsHandler() - Constructor for class org.miaixz.bus.pager.handler.PermissionsHandler
- PermissionsProvider - Interface in org.miaixz.bus.pager.handler
-
数据权限提供者接口 定义数据权限SQL片段的生成逻辑
- PostgreSql - Class in org.miaixz.bus.pager.dialect.base
-
数据库方言 postgresql
- PostgreSql() - Constructor for class org.miaixz.bus.pager.dialect.base.PostgreSql
- PostgreSqlRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
-
PostgreSQL 基于 RowBounds 的分页
- PostgreSqlRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.PostgreSqlRowBounds
- prepare(StatementHandler) - Method in class org.miaixz.bus.pager.handler.OperationHandler
-
准备 SQL 语句,检查 UPDATE 和 DELETE 语句是否包含 WHERE 条件,防止全表操作。
- prepare(StatementHandler) - Method in class org.miaixz.bus.pager.handler.PermissionsHandler
-
预处理SQL语句,针对UPDATE和DELETE语句动态添加权限条件
- prepare(StatementHandler) - Method in class org.miaixz.bus.pager.handler.TenantHandler
-
预处理 INSERT、UPDATE、DELETE 语句,添加租户条件。
- processDelete(Delete, int, String, Object) - Method in class org.miaixz.bus.pager.handler.OperationHandler
-
处理 DELETE 语句,检查是否包含 WHERE 条件。
- processDelete(Delete, int, String, Object) - Method in class org.miaixz.bus.pager.handler.PermissionsHandler
-
处理DELETE语句,添加权限条件
- processDelete(Delete, int, String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
-
处理DELETE语句。
- processDelete(Delete, int, String, Object) - Method in class org.miaixz.bus.pager.handler.TenantHandler
-
处理 DELETE 语句,添加租户条件到 WHERE 子句。
- processFromItem(FromItem) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
-
处理 FROM 子句中的子查询。
- processFromItem(FromItem, int) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
处理子查询
- processFunction(Function, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
-
处理函数,支持 select fun(args..)
- processInsert(Insert, int, String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
-
处理INSERT语句。
- processInsert(Insert, int, String, Object) - Method in class org.miaixz.bus.pager.handler.TenantHandler
-
处理 INSERT 语句,添加租户列和值。
- processInsertSelect(Select, String) - Method in class org.miaixz.bus.pager.handler.TenantHandler
-
处理 INSERT INTO ...
- processOtherFromItem(FromItem, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
-
处理其他 FROM 项(如子查询)。
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
-
处理分页参数
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.AS400
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.CirroData
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Db2
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Firebird
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.HerdDB
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Hsqldb
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Informix
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.MySql
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Oracle
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Oracle9i
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Oscar
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.PostgreSql
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer2012
- processPageParameter(MappedStatement, Map<String, Object>, Page, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.base.Xugudb
- processParameterObject(MappedStatement, Object, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
- processParameterObject(MappedStatement, Object, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
- processParameterObject(MappedStatement, Object, BoundSql, CacheKey) - Method in interface org.miaixz.bus.pager.Dialect
-
处理查询参数对象
- processParameterObject(MappedStatement, Object, BoundSql, CacheKey) - Method in class org.miaixz.bus.pager.PageContext
- processParser(Statement, int, String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
-
执行SQL语句解析和处理。
- processPlainSelect(PlainSelect) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
-
处理 PlainSelect 类型的 SELECT 主体。
- processPlainSelect(PlainSelect, int) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
处理PlainSelect类型的select
- processPlainSelect(PlainSelect, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
-
处理 PlainSelect 语句,包含 SELECT 项、FROM 项和 JOIN。
- processSelect(Select) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
-
处理 SELECT 主体,移除不必要的 ORDER BY。
- processSelect(Select, int, String, Object) - Method in class org.miaixz.bus.pager.handler.PaginationHandler
-
处理 SELECT 语句,记录分页相关日志。
- processSelect(Select, int, String, Object) - Method in class org.miaixz.bus.pager.handler.PermissionsHandler
-
处理SELECT语句,添加权限条件
- processSelect(Select, int, String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
-
处理SELECT语句。
- processSelect(Select, int, String, Object) - Method in class org.miaixz.bus.pager.handler.TenantHandler
-
处理 SELECT 语句,添加租户条件到 WHERE 子句。
- processSelectBody(Object, int) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
处理selectBody去除Order by
- processSelectBody(Select, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
-
处理 SELECT 语句体,应用指定的条件片段。
- processSelectItem(SelectItem, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
-
处理 SELECT 项中的子查询或函数。
- processUpdate(Update, int, String, Object) - Method in class org.miaixz.bus.pager.handler.OperationHandler
-
处理 UPDATE 语句,检查是否包含 WHERE 条件。
- processUpdate(Update, int, String, Object) - Method in class org.miaixz.bus.pager.handler.PermissionsHandler
-
处理UPDATE语句,添加权限条件
- processUpdate(Update, int, String, Object) - Method in class org.miaixz.bus.pager.handler.SqlParserHandler
-
处理UPDATE语句。
- processUpdate(Update, int, String, Object) - Method in class org.miaixz.bus.pager.handler.TenantHandler
-
处理 UPDATE 语句,添加租户条件到 WHERE 子句。
- processWhereSubSelect(Expression, String) - Method in class org.miaixz.bus.pager.handler.ConditionHandler
-
处理 WHERE 条件中的子查询,支持
IN、=、>、<、>=、<=、<>、EXISTS、NOT EXISTS前提:子查询需放在括号中,且通常位于比较操作符右侧。 - processWithItemsList(List<WithItem<?>>) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
-
处理 WITH 子句,移除不必要的 ORDER BY。
- Property - Interface in org.miaixz.bus.pager
-
分页配置,实现该接口的类在初始化后会调用
Property.setProperties(Properties)方法
Q
- query(Object, Executor, MappedStatement, Object, RowBounds, ResultHandler, BoundSql) - Method in class org.miaixz.bus.pager.handler.PaginationHandler
-
执行分页查询,处理 COUNT 和分页逻辑。
- query(Object, Executor, MappedStatement, Object, RowBounds, ResultHandler, BoundSql) - Method in class org.miaixz.bus.pager.handler.PermissionsHandler
-
查询处理,针对SELECT语句动态添加权限条件
- query(Object, Executor, MappedStatement, Object, RowBounds, ResultHandler, BoundSql) - Method in class org.miaixz.bus.pager.handler.TenantHandler
-
处理查询操作,在 SELECT 语句中添加租户条件。
- Querying - Interface in org.miaixz.bus.pager
-
分页查询接口
R
- read(Collection<K>) - Method in class org.miaixz.bus.pager.cache.GuavaCache
- read(Collection<K>) - Method in class org.miaixz.bus.pager.cache.SimpleCache
- read(K) - Method in class org.miaixz.bus.pager.cache.GuavaCache
- read(K) - Method in class org.miaixz.bus.pager.cache.SimpleCache
- reasonable - Variable in class org.miaixz.bus.pager.binding.PageParams
-
是否启用分页合理化,默认false
- reasonable(Boolean) - Method in class org.miaixz.bus.pager.Page
-
设置分页合理化开关。
- RegexWithNolock - Class in org.miaixz.bus.pager.dialect.replace
-
正则处理 with(nolock),转换为一个 table_PAGEWITHNOLOCK
- RegexWithNolock() - Constructor for class org.miaixz.bus.pager.dialect.replace.RegexWithNolock
- registerAutoDialect(AbstractAutoDialect) - Static method in class org.miaixz.bus.pager.dialect.auto.Defalut
-
允许手工添加额外的实现,实际上没有必要
- registerAutoDialectAlias(String, Class<? extends AutoDialect>) - Static method in class org.miaixz.bus.pager.binding.PageAutoDialect
-
注册自动方言别名。
- registerDialectAlias(String, Class<? extends Dialect>) - Static method in class org.miaixz.bus.pager.binding.PageAutoDialect
-
注册方言别名。
- remove(K...) - Method in class org.miaixz.bus.pager.cache.GuavaCache
- remove(K...) - Method in class org.miaixz.bus.pager.cache.SimpleCache
- replace(String) - Method in class org.miaixz.bus.pager.dialect.replace.RegexWithNolock
- replace(String) - Method in class org.miaixz.bus.pager.dialect.replace.SimpleWithNolock
- replace(String) - Method in interface org.miaixz.bus.pager.dialect.ReplaceSql
-
临时替换后用于 jsqlparser 解析
- replaceSql - Variable in class org.miaixz.bus.pager.dialect.base.SqlServer
- replaceSql - Variable in class org.miaixz.bus.pager.dialect.rowbounds.SqlServerRowBounds
- ReplaceSql - Interface in org.miaixz.bus.pager.dialect
-
替换和还原 SQL
- requestClass - Static variable in class org.miaixz.bus.pager.binding.PageObject
- resloveDialectClass(String) - Static method in class org.miaixz.bus.pager.binding.PageAutoDialect
-
解析方言类。
- restore(String) - Method in class org.miaixz.bus.pager.dialect.replace.RegexWithNolock
- restore(String) - Method in class org.miaixz.bus.pager.dialect.replace.SimpleWithNolock
- restore(String) - Method in interface org.miaixz.bus.pager.dialect.ReplaceSql
-
还原经过解析后的 sql
- RowBounds - Class in org.miaixz.bus.pager
-
扩展MyBatis的RowBounds,添加分页结果信息,如总记录数和是否执行count查询。
- RowBounds(int, int) - Constructor for class org.miaixz.bus.pager.RowBounds
-
构造函数,指定偏移量和限制数。
- rowBoundsWithCount - Variable in class org.miaixz.bus.pager.binding.PageParams
-
RowBounds是否执行count查询,默认false
S
- Serialize<T> - Class in org.miaixz.bus.pager
-
分页信息类,用于存储分页查询的结果集和总记录数,支持序列化。
- Serialize() - Constructor for class org.miaixz.bus.pager.Serialize
-
默认构造函数。
- Serialize(List<? extends T>) - Constructor for class org.miaixz.bus.pager.Serialize
-
构造函数,基于结果集初始化。
- setAsyncCount(Boolean) - Method in class org.miaixz.bus.pager.Page
-
设置是否启用异步count查询。
- setBoundSqlInterceptor(BoundSqlBuilder) - Method in class org.miaixz.bus.pager.Page
-
设置BoundSql拦截器。
- setCount(boolean) - Method in class org.miaixz.bus.pager.Page
-
设置是否执行count查询。
- setCount(Boolean) - Method in class org.miaixz.bus.pager.RowBounds
-
设置是否执行count查询。
- setCountColumn(String) - Method in class org.miaixz.bus.pager.Page
-
设置count查询列名,包含SQL注入校验。
- setDialectClass(String) - Method in class org.miaixz.bus.pager.Page
-
设置分页实现类。
- setDialectThreadLocal(AbstractPaging) - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
-
设置线程本地方言实例。
- setEndRow(long) - Method in class org.miaixz.bus.pager.Page
-
设置末行位置。
- setEndRow(long) - Method in class org.miaixz.bus.pager.Paginating
-
设置当前页面最后一个元素的行号。
- setHasNextPage(boolean) - Method in class org.miaixz.bus.pager.Paginating
-
设置是否有下一页。
- setHasPreviousPage(boolean) - Method in class org.miaixz.bus.pager.Paginating
-
设置是否有前一页。
- setIsFirstPage(boolean) - Method in class org.miaixz.bus.pager.Paginating
-
设置是否为第一页。
- setIsLastPage(boolean) - Method in class org.miaixz.bus.pager.Paginating
-
设置是否为最后一页。
- setKeepOrderBy(Boolean) - Method in class org.miaixz.bus.pager.Page
-
设置是否保留count查询的order by排序。
- setKeepSubSelectOrderBy(Boolean) - Method in class org.miaixz.bus.pager.Page
-
设置是否保留子查询的order by排序。
- setList(List<T>) - Method in class org.miaixz.bus.pager.Serialize
-
设置分页结果集。
- setLocalPage(Page) - Static method in class org.miaixz.bus.pager.binding.PageMethod
-
设置当前线程的分页参数。
- setNavigateFirstPage(int) - Method in class org.miaixz.bus.pager.Paginating
-
设置导航条上的第一页。
- setNavigateLastPage(int) - Method in class org.miaixz.bus.pager.Paginating
-
设置导航条上的最后一页。
- setNavigatepageNo(int[]) - Method in class org.miaixz.bus.pager.Paginating
-
设置导航页码数组。
- setNavigatePages(int) - Method in class org.miaixz.bus.pager.Paginating
-
设置导航页码数。
- setNextPage(int) - Method in class org.miaixz.bus.pager.Paginating
-
设置下一页页码。
- setOrderBy(String) - Method in class org.miaixz.bus.pager.Page
-
设置排序字段。
- setOrderBy(String) - Method in class org.miaixz.bus.pager.PageParam
-
设置排序字段。
- setOrderByOnly(boolean) - Method in class org.miaixz.bus.pager.Page
-
设置是否仅增加排序。
- setPageNo(int) - Method in class org.miaixz.bus.pager.Page
-
设置页码,支持合理化处理。
- setPageNo(int) - Method in class org.miaixz.bus.pager.Paginating
-
设置当前页码。
- setPageNo(Integer) - Method in class org.miaixz.bus.pager.PageParam
-
设置页码。
- setPages(int) - Method in class org.miaixz.bus.pager.Page
-
设置总页数。
- setPages(int) - Method in class org.miaixz.bus.pager.Paginating
-
设置总页数。
- setPageSize(int) - Method in class org.miaixz.bus.pager.Page
-
设置页面大小。
- setPageSize(int) - Method in class org.miaixz.bus.pager.Paginating
-
设置每页记录数。
- setPageSize(Integer) - Method in class org.miaixz.bus.pager.PageParam
-
设置每页记录数。
- setPageSizeZero(Boolean) - Method in class org.miaixz.bus.pager.Page
-
设置pageSizeZero开关。
- setParams(String) - Static method in class org.miaixz.bus.pager.binding.PageObject
- setPrePage(int) - Method in class org.miaixz.bus.pager.Paginating
-
设置前一页页码。
- setProperties(Properties) - Method in class org.miaixz.bus.pager.binding.PageAutoDialect
-
设置分页配置属性。
- setProperties(Properties) - Method in class org.miaixz.bus.pager.binding.PageParams
-
设置分页相关配置属性。
- setProperties(Properties) - Method in class org.miaixz.bus.pager.builder.PageBoundSqlBuilder
-
配置 BoundSql 拦截器链,根据属性初始化处理器列表
- setProperties(Properties) - Method in class org.miaixz.bus.pager.dialect.AbstractDialect
- setProperties(Properties) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
- setProperties(Properties) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
- setProperties(Properties) - Method in class org.miaixz.bus.pager.dialect.base.SqlServer
- setProperties(Properties) - Method in class org.miaixz.bus.pager.dialect.rowbounds.SqlServerRowBounds
- setProperties(Properties) - Method in interface org.miaixz.bus.pager.Dialect
-
设置参数
- setProperties(Properties) - Method in class org.miaixz.bus.pager.handler.PaginationHandler
-
设置分页处理器属性,初始化缓存和方言。
- setProperties(Properties) - Method in class org.miaixz.bus.pager.handler.TenantHandler
-
设置处理器属性,初始化租户服务。
- setProperties(Properties) - Method in class org.miaixz.bus.pager.PageContext
- setProperties(Properties) - Method in interface org.miaixz.bus.pager.Property
-
设置参数
- setProvider(PermissionsProvider) - Method in class org.miaixz.bus.pager.handler.PermissionsHandler
-
设置数据权限提供者
- setProvider(TenantProvider) - Method in class org.miaixz.bus.pager.handler.TenantHandler
-
设置租户服务。
- setReasonable(Boolean) - Method in class org.miaixz.bus.pager.Page
-
设置分页合理化开关。
- setSize(int) - Method in class org.miaixz.bus.pager.Paginating
-
设置当前页记录数。
- setStartRow(long) - Method in class org.miaixz.bus.pager.Page
-
设置起始行位置。
- setStartRow(long) - Method in class org.miaixz.bus.pager.Paginating
-
设置当前页面第一个元素的行号。
- setStaticProperties(Properties) - Static method in class org.miaixz.bus.pager.binding.PageMethod
-
设置全局静态属性。
- setTotal(long) - Method in class org.miaixz.bus.pager.Page
-
设置总记录数并计算总页数。
- setTotal(long) - Method in class org.miaixz.bus.pager.Serialize
-
设置总记录数。
- setTotal(Long) - Method in class org.miaixz.bus.pager.RowBounds
-
设置总记录数。
- setUnsafeOrderBy(String) - Method in class org.miaixz.bus.pager.Page
-
不安全设置排序字段,需自行确保无SQL注入风险。
- SimpleCache<K,
V> - Class in org.miaixz.bus.pager.cache -
Simple MyBatis Cache
- SimpleCache(Properties, String) - Constructor for class org.miaixz.bus.pager.cache.SimpleCache
- SimpleWithNolock - Class in org.miaixz.bus.pager.dialect.replace
-
简单处理 with(nolock)
- SimpleWithNolock() - Constructor for class org.miaixz.bus.pager.dialect.replace.SimpleWithNolock
- skip(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractPaging
- skip(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.dialect.AbstractRowBounds
- skip(MappedStatement, Object, RowBounds) - Method in interface org.miaixz.bus.pager.Dialect
-
跳过 count 和 分页查询
- skip(MappedStatement, Object, RowBounds) - Method in class org.miaixz.bus.pager.PageContext
- SqlParser - Interface in org.miaixz.bus.pager.parsing
-
为了能自己控制是否使用单线程池,是否支持超时控制,所以自己实现了一个
- SqlParserHandler - Class in org.miaixz.bus.pager.handler
-
抽象SQL解析类,提供SQL语句解析和处理功能。
- SqlParserHandler() - Constructor for class org.miaixz.bus.pager.handler.SqlParserHandler
- SqlServer - Class in org.miaixz.bus.pager.dialect.base
-
数据库方言 sqlserver
- SqlServer() - Constructor for class org.miaixz.bus.pager.dialect.base.SqlServer
- SqlServer2012 - Class in org.miaixz.bus.pager.dialect.base
-
数据库方言 sqlserver2012
- SqlServer2012() - Constructor for class org.miaixz.bus.pager.dialect.base.SqlServer2012
- SqlServer2012RowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
-
sqlserver2012 基于 RowBounds 的分页
- SqlServer2012RowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.SqlServer2012RowBounds
- SqlServerRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
-
sqlserver 基于 RowBounds 的分页
- SqlServerRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.SqlServerRowBounds
- sqlServerSqlParser - Variable in class org.miaixz.bus.pager.dialect.base.SqlServer
- sqlServerSqlParser - Variable in class org.miaixz.bus.pager.dialect.rowbounds.SqlServerRowBounds
- SqlServerSqlParser - Interface in org.miaixz.bus.pager.parsing
-
针对 sqlserver 的分页解析
- sqlToCount(Select, String) - Method in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
-
将sql转换为count查询
- START_ROW - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
开始行号
- startPage(int, int) - Static method in class org.miaixz.bus.pager.binding.PageMethod
-
开始分页,指定页码和页面大小。
- startPage(int, int, boolean) - Static method in class org.miaixz.bus.pager.binding.PageMethod
-
开始分页,指定页码、页面大小和是否执行count查询。
- startPage(int, int, boolean, Boolean, Boolean) - Static method in class org.miaixz.bus.pager.binding.PageMethod
-
开始分页,指定页码、页面大小、count查询、分页合理化和零页大小处理。
- startPage(int, int, String) - Static method in class org.miaixz.bus.pager.binding.PageMethod
-
开始分页,指定页码、页面大小和排序字段。
- startPage(Object) - Static method in class org.miaixz.bus.pager.binding.PageMethod
-
从参数对象开始分页。
- SUFFIX_COUNT - Static variable in class org.miaixz.bus.pager.dialect.AbstractPaging
-
count查询的id后缀
- SUFFIX_PAGE - Static variable in class org.miaixz.bus.pager.dialect.AbstractPaging
-
分页的id后缀
- supportMethodsArguments - Variable in class org.miaixz.bus.pager.binding.PageParams
-
是否支持通过接口参数传递分页参数,默认false
T
- TABLE_ALIAS - Static variable in class org.miaixz.bus.pager.parsing.DefaultCountSqlParser
- TenantHandler - Class in org.miaixz.bus.pager.handler
-
多租户处理器,负责在 SQL 中添加租户条件。
- TenantHandler() - Constructor for class org.miaixz.bus.pager.handler.TenantHandler
- TenantProvider - Interface in org.miaixz.bus.pager.handler
-
租户:行级多租户
- TOP100_PERCENT - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
TOP 100 PERCENT
- toPageInfo() - Method in class org.miaixz.bus.pager.Page
-
转换为Paginating对象。
- toPageInfo(FunctionX<E, T>) - Method in class org.miaixz.bus.pager.Page
-
转换分页数据并返回Paginating对象。
- toPageSerializable() - Method in class org.miaixz.bus.pager.Page
-
转换为Serialize对象。
- toPageSerializable(FunctionX<E, T>) - Method in class org.miaixz.bus.pager.Page
-
转换分页数据并返回Serialize对象。
- toString() - Method in class org.miaixz.bus.pager.Page
-
返回Page对象的字符串表示。
- toString() - Method in class org.miaixz.bus.pager.Paginating
-
返回Paginating对象的字符串表示。
- toString() - Method in class org.miaixz.bus.pager.Serialize
-
返回Serialize对象的字符串表示。
- total - Variable in class org.miaixz.bus.pager.Serialize
-
总记录数
U
- using(String) - Method in class org.miaixz.bus.pager.Page
-
指定使用的分页实现。
V
- validateSql(String) - Static method in class org.miaixz.bus.pager.handler.SqlParserHandler
-
校验SQL防止注入风险
- 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
- WITHNOLOCK - Variable in class org.miaixz.bus.pager.dialect.replace.SimpleWithNolock
- WRAP_TABLE - Static variable in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
外层包装表
- wrapSetOperationList(SetOperationList) - Method in class org.miaixz.bus.pager.parsing.DefaultSqlServerSqlParser
-
包装SetOperationList
- write(Map<K, V>, long) - Method in class org.miaixz.bus.pager.cache.GuavaCache
- write(Map<K, V>, long) - Method in class org.miaixz.bus.pager.cache.SimpleCache
- write(K, V, long) - Method in class org.miaixz.bus.pager.cache.GuavaCache
- write(K, V, long) - Method in class org.miaixz.bus.pager.cache.SimpleCache
X
- Xugudb - Class in org.miaixz.bus.pager.dialect.base
-
数据库方言 Xugudb
- Xugudb() - Constructor for class org.miaixz.bus.pager.dialect.base.Xugudb
- XugudbRowBounds - Class in org.miaixz.bus.pager.dialect.rowbounds
-
Xugudb 基于 RowBounds 的分页
- XugudbRowBounds() - Constructor for class org.miaixz.bus.pager.dialect.rowbounds.XugudbRowBounds
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form