public abstract class PageSqlSource extends Object implements org.apache.ibatis.mapping.SqlSource
| 限定符和类型 | 字段和说明 |
|---|---|
protected static ThreadLocal<Parser> |
localParser |
| 构造器和说明 |
|---|
PageSqlSource() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.ibatis.mapping.BoundSql |
getBoundSql(Object parameterObject)
获取BoundSql
|
protected Boolean |
getCount()
返回值null - 普通,true - count,false - page
|
protected abstract org.apache.ibatis.mapping.BoundSql |
getCountBoundSql(Object parameterObject)
获取Count查询的BoundSql
|
protected abstract org.apache.ibatis.mapping.BoundSql |
getDefaultBoundSql(Object parameterObject)
获取正常的BoundSql
|
protected abstract org.apache.ibatis.mapping.BoundSql |
getPageBoundSql(Object parameterObject)
获取分页查询的BoundSql
|
void |
setParser(Parser parser) |
protected static final ThreadLocal<Parser> localParser
public void setParser(Parser parser)
protected Boolean getCount()
protected abstract org.apache.ibatis.mapping.BoundSql getDefaultBoundSql(Object parameterObject)
parameterObject - protected abstract org.apache.ibatis.mapping.BoundSql getCountBoundSql(Object parameterObject)
parameterObject - protected abstract org.apache.ibatis.mapping.BoundSql getPageBoundSql(Object parameterObject)
parameterObject - public org.apache.ibatis.mapping.BoundSql getBoundSql(Object parameterObject)
getBoundSql 在接口中 org.apache.ibatis.mapping.SqlSourceparameterObject - Copyright © 2016. All rights reserved.