类 LimitInfo
- 所有已实现的接口:
Query
条数限制
- 版本:
- 0.0.1
- 作者:
- scx567888
-
构造器概要
构造器 -
方法概要
从类继承的方法 cool.scx.data.query.QueryLike
addGroupBy, addOrderBy, addWhere, clearGroupBy, clearOrderBy, clearWhere, getGroupBy, getOrderBy, getWhere, groupBy, orderBy, where
-
构造器详细资料
-
LimitInfo
public LimitInfo()创建一个 Limit 对象 -
LimitInfo
根据旧的 Limit 创建一个 Limit 对象- 参数:
oldLimit- 旧的 Limit
-
-
方法详细资料
-
offset
setOffset -
limit
setLimit -
getOffset
获取偏移量 -
getLimit
获取分页大小 (这里分页大小即等于行数 所以直接返回 pageSize) -
clearOffset
clearOffset- 指定者:
clearOffset在接口中Query- 覆盖:
clearOffset在类中QueryLike<LimitInfo>- 返回:
- self
-
clearLimit
clearLimit- 指定者:
clearLimit在接口中Query- 覆盖:
clearLimit在类中QueryLike<LimitInfo>- 返回:
- self
-
getLimitInfo
- 指定者:
getLimitInfo在接口中Query- 覆盖:
getLimitInfo在类中QueryLike<LimitInfo>
-
toQuery
-