Modifier and Type | Class and Description |
---|---|
static class |
LCStatusQuery.PaginationDirection |
static class |
LCStatusQuery.SourceType |
LCQuery.CachePolicy
Modifier | Constructor and Description |
---|---|
protected |
LCStatusQuery(LCStatusQuery.SourceType type) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
assembleParameters()
assemble query parameters.
|
io.reactivex.Observable<Integer> |
countInBackground()
get status count.
|
protected io.reactivex.Observable<List<LCStatus>> |
findInBackground(int explicitLimit) |
protected io.reactivex.Observable<List<LCStatus>> |
findInBackground(LCUser asAuthenticatedUser,
int explicitLimit) |
long |
getMaxId()
get current max messageId.
|
int |
getPageSize()
get pagination size.
|
long |
getSinceId()
get current since messageId.
|
io.reactivex.Observable<List<LCStatus>> |
nextInBackground()
get next pagination result.
|
void |
setDirection(LCStatusQuery.PaginationDirection direct)
set query direction.
|
void |
setMaxId(long maxId)
set max messageId.
|
void |
setPageSize(int pageSize)
set pagination size.
|
void |
setSinceId(long sinceId)
set since messageId.
|
io.reactivex.Observable<JSONObject> |
unreadCountInBackground()
get (read, unread) count.
|
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
protected LCStatusQuery(LCStatusQuery.SourceType type)
public void setSinceId(long sinceId)
sinceId
- starter message idpublic long getSinceId()
public long getMaxId()
public void setMaxId(long maxId)
maxId
- max messageIdpublic int getPageSize()
public void setPageSize(int pageSize)
pageSize
- pagination sizepublic void setDirection(LCStatusQuery.PaginationDirection direct)
direct
- pagination direction.public Map<String,String> assembleParameters()
assembleParameters
in class LCQuery<LCStatus>
protected io.reactivex.Observable<List<LCStatus>> findInBackground(int explicitLimit)
protected io.reactivex.Observable<List<LCStatus>> findInBackground(LCUser asAuthenticatedUser, int explicitLimit)
findInBackground
in class LCQuery<LCStatus>
public io.reactivex.Observable<List<LCStatus>> nextInBackground()
public io.reactivex.Observable<Integer> countInBackground()
countInBackground
in class LCQuery<LCStatus>
public io.reactivex.Observable<JSONObject> unreadCountInBackground()
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.