public interface LimitOffsetProcessor
Modifier and Type | Field and Description |
---|---|
static LimitOffsetProcessor |
DERBY
derby 的处理器
适合
DbType#DERBY,DbType#ORACLE_12C,DbType#SQLSERVER ,DbType#POSTGRE_SQL |
static LimitOffsetProcessor |
FIREBIRD
Firebird 的处理器
适合
DbType.FIREBIRD |
static LimitOffsetProcessor |
INFORMIX
|
static LimitOffsetProcessor |
MYSQL
MySql 的处理器
适合
DbType#MYSQL,DbType#MARIADB,DbType#H2,DbType#CLICK_HOUSE,DbType#XCloud |
static LimitOffsetProcessor |
ORACLE
Oracle11g及以下数据库的处理器
适合
DbType#ORACLE,DbType#DM,DbType#GAUSS |
static LimitOffsetProcessor |
POSTGRESQL
Postgresql 的处理器
适合
DbType#POSTGRE_SQL,DbType#SQLITE,DbType#H2,DbType#HSQL,DbType#KINGBASE_ES,DbType#PHOENIX
适合 DbType#SAP_HANA,DbType#IMPALA,DbType#HIGH_GO,DbType#VERTICA,DbType#REDSHIFT
适合 DbType#OPENGAUSS,DbType#TDENGINE,DbType#UXDB |
static LimitOffsetProcessor |
SINODB
SINODB 的处理器
适合
DbType.SINODB |
static LimitOffsetProcessor |
SQLSERVER
derby 的处理器
适合
DbType#DERBY,DbType#ORACLE_12C,DbType#SQLSERVER ,DbType#POSTGRE_SQL |
static LimitOffsetProcessor |
SQLSERVER_2005
SqlServer 2005 limit 处理器
|
static LimitOffsetProcessor |
SYBASE
Sybase 处理器
适合
DbType.SYBASE |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
process(IDialect dialect,
StringBuilder sql,
QueryWrapper queryWrapper,
Long limitRows,
Long limitOffset)
处理构建 limit 和 offset
|
static final LimitOffsetProcessor MYSQL
DbType#MYSQL,DbType#MARIADB,DbType#H2,DbType#CLICK_HOUSE,DbType#XCloud
static final LimitOffsetProcessor POSTGRESQL
DbType#POSTGRE_SQL,DbType#SQLITE,DbType#H2,DbType#HSQL,DbType#KINGBASE_ES,DbType#PHOENIX
适合 DbType#SAP_HANA,DbType#IMPALA,DbType#HIGH_GO,DbType#VERTICA,DbType#REDSHIFT
适合 DbType#OPENGAUSS,DbType#TDENGINE,DbType#UXDB
static final LimitOffsetProcessor DERBY
DbType#DERBY,DbType#ORACLE_12C,DbType#SQLSERVER ,DbType#POSTGRE_SQL
static final LimitOffsetProcessor SQLSERVER
DbType#DERBY,DbType#ORACLE_12C,DbType#SQLSERVER ,DbType#POSTGRE_SQL
static final LimitOffsetProcessor SQLSERVER_2005
static final LimitOffsetProcessor INFORMIX
static final LimitOffsetProcessor SINODB
DbType.SINODB
static final LimitOffsetProcessor FIREBIRD
DbType.FIREBIRD
static final LimitOffsetProcessor ORACLE
DbType#ORACLE,DbType#DM,DbType#GAUSS
static final LimitOffsetProcessor SYBASE
DbType.SYBASE
StringBuilder process(IDialect dialect, StringBuilder sql, QueryWrapper queryWrapper, Long limitRows, Long limitOffset)
dialect
- 数据方言sql
- 已经构建的 sqlqueryWrapper
- 参数内容limitRows
- 用户传入的 limit 参数 可能为 nulllimitOffset
- 用户传入的 offset 参数,可能为 nullCopyright © 2024. All rights reserved.