public class SqlServerRowBoundsDialect extends AbstractRowBoundsDialect
| Modifier and Type | Field and Description |
|---|---|
protected SqlServerParser |
pageSql |
protected ReplaceSql |
replaceSql |
countSqlParser| Constructor and Description |
|---|
SqlServerRowBoundsDialect() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountSql(org.apache.ibatis.mapping.MappedStatement ms,
org.apache.ibatis.mapping.BoundSql boundSql,
Object parameterObject,
org.apache.ibatis.session.RowBounds rowBounds,
org.apache.ibatis.cache.CacheKey countKey)
生成 count 查询 sql
|
String |
getPageSql(String sql,
org.apache.ibatis.session.RowBounds rowBounds,
org.apache.ibatis.cache.CacheKey pageKey) |
void |
setProperties(Properties properties)
设置参数
|
afterAll, afterCount, afterPage, beforeCount, beforePage, getPageSql, processParameterObject, skipprotected SqlServerParser pageSql
protected ReplaceSql replaceSql
public String getCountSql(org.apache.ibatis.mapping.MappedStatement ms, org.apache.ibatis.mapping.BoundSql boundSql, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.cache.CacheKey countKey)
DialectgetCountSql in interface DialectgetCountSql in class AbstractDialectms - MappedStatementboundSql - 绑定 SQL 对象parameterObject - 方法参数rowBounds - 分页参数countKey - count 缓存 keypublic String getPageSql(String sql, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.cache.CacheKey pageKey)
getPageSql in class AbstractRowBoundsDialectpublic void setProperties(Properties properties)
DialectsetProperties in interface DialectsetProperties in class AbstractRowBoundsDialectproperties - 插件属性Copyright © 2018. All rights reserved.