public abstract class AbstractDialect extends Object implements Dialect
Modifier and Type | Field and Description |
---|---|
protected CountSqlParser |
countSqlParser |
Constructor and Description |
---|
AbstractDialect() |
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterAll, afterCount, afterPage, beforeCount, beforePage, getPageSql, processParameterObject, setProperties, skip
protected CountSqlParser countSqlParser
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)
Dialect
getCountSql
in interface Dialect
ms
- MappedStatementboundSql
- 绑定 SQL 对象parameterObject
- 方法参数rowBounds
- 分页参数countKey
- count 缓存 keyCopyright © 2018. All rights reserved.