程序包 cn.leancloud
类 LCStatusQuery
- java.lang.Object
-
- cn.leancloud.LCQuery<LCStatus>
-
- cn.leancloud.LCStatusQuery
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classLCStatusQuery.PaginationDirectionstatic classLCStatusQuery.SourceType-
从类继承的嵌套类/接口 cn.leancloud.LCQuery
LCQuery.CachePolicy
-
-
构造器概要
构造器 限定符 构造器 说明 protectedLCStatusQuery(LCStatusQuery.SourceType type)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.util.Map<java.lang.String,java.lang.String>assembleParameters()assemble query parameters.io.reactivex.Observable<java.lang.Integer>countInBackground()get status count.protected io.reactivex.Observable<java.util.List<LCStatus>>findInBackground(int explicitLimit)protected io.reactivex.Observable<java.util.List<LCStatus>>findInBackground(LCUser asAuthenticatedUser, int explicitLimit)longgetMaxId()get current max messageId.intgetPageSize()get pagination size.longgetSinceId()get current since messageId.io.reactivex.Observable<java.util.List<LCStatus>>nextInBackground()get next pagination result.voidsetDirection(LCStatusQuery.PaginationDirection direct)set query direction.voidsetMaxId(long maxId)set max messageId.voidsetPageSize(int pageSize)set pagination size.voidsetSinceId(long sinceId)set since messageId.io.reactivex.Observable<JSONObject>unreadCountInBackground()get (read, unread) count.-
从类继承的方法 cn.leancloud.LCQuery
addAscendingOrder, addDescendingOrder, addWhereItem, and, assembleJsonParam, clearAllCachedResults, clearCachedResult, clone, count, count, countInBackground, deleteAll, deleteAll, deleteAllInBackground, deleteAllInBackground, find, findInBackground, findInBackground, get, getCachePolicy, getClassName, getFirst, getFirst, getFirstInBackground, getFirstInBackground, getInBackground, getInBackground, getLimit, getMaxCacheAge, getOrder, getPolicy, getQuery, getQuery, getSkip, hasCachedResult, include, includeACL, isIncludeACL, limit, or, order, orderByAscending, orderByDescending, selectKeys, setCachePolicy, setClassName, setLimit, setMaxCacheAge, setOrder, setPolicy, setSkip, skip, whereContainedIn, whereContains, whereContainsAll, whereDoesNotExist, whereDoesNotMatchKeyInQuery, whereDoesNotMatchQuery, whereEndsWith, whereEqualTo, whereExists, whereGreaterThan, whereGreaterThanOrEqualTo, whereLessThan, whereLessThanOrEqualTo, whereMatches, whereMatches, whereMatchesKeyInQuery, whereMatchesQuery, whereNear, whereNotContainedIn, whereNotEqualTo, whereSizeEqual, whereStartsWith, whereWithinGeoBox, whereWithinKilometers, whereWithinKilometers, whereWithinMiles, whereWithinMiles, whereWithinRadians, whereWithinRadians
-
-
-
-
构造器详细资料
-
LCStatusQuery
protected LCStatusQuery(LCStatusQuery.SourceType type)
-
-
方法详细资料
-
setSinceId
public void setSinceId(long sinceId)
set since messageId.- 参数:
sinceId- starter message id
-
getSinceId
public long getSinceId()
get current since messageId.- 返回:
- since messageId
-
getMaxId
public long getMaxId()
get current max messageId.- 返回:
- max messageId
-
setMaxId
public void setMaxId(long maxId)
set max messageId.- 参数:
maxId- max messageId
-
getPageSize
public int getPageSize()
get pagination size.- 返回:
- pagination size.
-
setPageSize
public void setPageSize(int pageSize)
set pagination size.- 参数:
pageSize- pagination size
-
setDirection
public void setDirection(LCStatusQuery.PaginationDirection direct)
set query direction.- 参数:
direct- pagination direction.
-
assembleParameters
public java.util.Map<java.lang.String,java.lang.String> assembleParameters()
assemble query parameters.- 覆盖:
assembleParameters在类中LCQuery<LCStatus>- 返回:
- parameter map.
-
findInBackground
protected io.reactivex.Observable<java.util.List<LCStatus>> findInBackground(int explicitLimit)
-
findInBackground
protected io.reactivex.Observable<java.util.List<LCStatus>> findInBackground(LCUser asAuthenticatedUser, int explicitLimit)
- 覆盖:
findInBackground在类中LCQuery<LCStatus>
-
nextInBackground
public io.reactivex.Observable<java.util.List<LCStatus>> nextInBackground()
get next pagination result.- 返回:
- observable instance.
-
countInBackground
public io.reactivex.Observable<java.lang.Integer> countInBackground()
get status count.- 覆盖:
countInBackground在类中LCQuery<LCStatus>- 返回:
- observable instance.
-
unreadCountInBackground
public io.reactivex.Observable<JSONObject> unreadCountInBackground()
get (read, unread) count.- 返回:
- observable instance.
-
-