public class PageParams extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
countColumn |
protected boolean |
offsetAsPageNum |
protected boolean |
pageSizeZero |
protected boolean |
reasonable |
protected boolean |
rowBoundsWithCount |
protected boolean |
supportMethodsArguments |
| Constructor and Description |
|---|
PageParams() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountColumn() |
Page |
getPage(Object parameterObject,
org.apache.ibatis.session.RowBounds rowBounds)
获取分页参数
|
boolean |
isOffsetAsPageNum() |
boolean |
isPageSizeZero() |
boolean |
isReasonable() |
boolean |
isRowBoundsWithCount() |
boolean |
isSupportMethodsArguments() |
void |
setProperties(Properties properties) |
protected boolean offsetAsPageNum
protected boolean rowBoundsWithCount
protected boolean pageSizeZero
protected boolean reasonable
protected boolean supportMethodsArguments
protected String countColumn
public Page getPage(Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds)
parameterObject - rowBounds - public void setProperties(Properties properties)
public boolean isOffsetAsPageNum()
public boolean isRowBoundsWithCount()
public boolean isPageSizeZero()
public boolean isReasonable()
public boolean isSupportMethodsArguments()
public String getCountColumn()
Copyright © 2018. All rights reserved.