| 程序包 | 说明 |
|---|---|
| cn.leancloud |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AVStatusQuery |
| 限定符和类型 | 方法和说明 |
|---|---|
AVQuery<T> |
AVQuery.addAscendingOrder(String key)
Also sorts the results in ascending order by the given key.
|
AVQuery<T> |
AVQuery.addDescendingOrder(String key)
Also sorts the results in descending order by the given key.
|
protected AVQuery<T> |
AVQuery.addWhereItem(String key,
String op,
Object value) |
static <T extends AVObject> |
AVQuery.and(List<AVQuery<T>> queries)
Constructs a query that is the and of the given queries.
|
AVQuery |
AVQuery.clone()
Clone a new query object, which fully same to this.
|
AVQuery<AVObject> |
AVUser.followeeQuery() |
static <T extends AVObject> |
AVUser.followeeQuery(String userObjectId,
Class<T> clazz) |
AVQuery<AVObject> |
AVUser.followerQuery() |
static <T extends AVObject> |
AVUser.followerQuery(String userObjectId,
Class<T> clazz) |
AVQuery<AVFriendship> |
AVUser.friendshipQuery(boolean isFollowerDirection)
get friendship query of current user.
|
AVQuery<AVFriendshipRequest> |
AVUser.friendshipRequestQuery(int status,
boolean includeTargetUser,
boolean requestToMe)
get query for AVFriendshipRequest.
|
AVQuery<? extends AVInstallation> |
AVPush.getPushQuery()
Return push query instance.
|
static AVQuery<AVRole> |
AVRole.getQuery() |
static AVQuery<AVInstallation> |
AVInstallation.getQuery() |
static AVQuery<AVUser> |
AVUser.getQuery()
Get User Query
|
AVQuery<T> |
AVRelation.getQuery()
Gets a query that can be used to query the objects in this relation.
|
AVQuery<T> |
AVRelation.getQuery(Class<T> clazz)
Gets a query that can be used to query the subclass objects in this relation.
|
static <T extends AVObject> |
AVQuery.getQuery(Class<T> clazz)
Create a AVQuery with special sub-class.
|
static <T extends AVObject> |
AVObject.getQuery(Class<T> clazz)
Get query for class.
|
static <T extends AVObject> |
AVQuery.getQuery(String theClassName)
Constructs a query.
|
static <T extends AVUser> |
AVUser.getUserQuery(Class<T> clazz)
Get User Query
|
AVQuery<T> |
AVQuery.include(String key)
Include nested AVObjects for the provided key.
|
AVQuery<T> |
AVQuery.includeACL(boolean includeACL)
set include ACL or not.
|
AVQuery<T> |
AVQuery.limit(int limit) |
static <T extends AVObject> |
AVQuery.or(List<AVQuery<T>> queries)
Constructs a query that is the or of the given queries.
|
AVQuery<T> |
AVQuery.order(String order) |
AVQuery<T> |
AVQuery.orderByAscending(String key)
Sorts the results in ascending order by the given key.
|
AVQuery<T> |
AVQuery.orderByDescending(String key)
Sorts the results in descending order by the given key.
|
static <M extends AVObject> |
AVRelation.reverseQuery(Class<M> theParentClazz,
String relationKey,
AVObject child)
Create a query that can be used to query the parent objects in this relation.
|
static <M extends AVObject> |
AVRelation.reverseQuery(String parentClassName,
String relationKey,
AVObject child)
Create a query that can be used to query the parent objects in this relation.
|
AVQuery<T> |
AVQuery.selectKeys(Collection<String> keys)
Restrict the fields of returned AVObjects to only include the provided keys.
|
AVQuery<T> |
AVQuery.setCachePolicy(AVQuery.CachePolicy cachePolicy)
Change the caching policy of this query.
|
AVQuery<T> |
AVQuery.setClassName(String className)
Set class name
|
AVQuery<T> |
AVQuery.setLimit(int limit)
Controls the maximum number of results that are returned.
|
AVQuery<T> |
AVQuery.setMaxCacheAge(long maxCacheAge)
Sets the maximum age of cached data that will be considered in this query.
|
AVQuery<T> |
AVQuery.setOrder(String order)
Set query order fields.
|
AVQuery<T> |
AVQuery.setPolicy(AVQuery.CachePolicy policy)
Change the caching policy of this query.
|
AVQuery<T> |
AVQuery.setSkip(int skip)
Controls the number of results to skip before returning any results.
|
AVQuery<T> |
AVQuery.skip(int skip) |
AVQuery<T> |
AVQuery.whereContainedIn(String key,
Collection<? extends Object> values)
Add a constraint to the query that requires a particular key's value to be contained in the
provided list of values.
|
AVQuery<T> |
AVQuery.whereContains(String key,
String substring)
Add a constraint for finding string values that contain a provided string.
|
AVQuery<T> |
AVQuery.whereContainsAll(String key,
Collection<?> values)
Add a constraint to the query that requires a particular key's value match another AVQuery.
|
AVQuery<T> |
AVQuery.whereDoesNotExist(String key)
Add a constraint for finding objects that do not contain a given key.
|
AVQuery<T> |
AVQuery.whereDoesNotMatchKeyInQuery(String key,
String keyInQuery,
AVQuery<?> query)
Add a constraint to the query that requires a particular key's value does not match any value
for a key in the results of another AVQuery.
|
AVQuery<T> |
AVQuery.whereDoesNotMatchQuery(String key,
AVQuery<?> query)
Add a constraint to the query that requires a particular key's value does not match another
AVQuery.
|
AVQuery<T> |
AVQuery.whereEndsWith(String key,
String suffix)
Add a constraint for finding string values that end with a provided string.
|
AVQuery<T> |
AVQuery.whereEqualTo(String key,
Object value)
Add a constraint to the query that requires a particular key's value to be equal to the
provided value.
|
AVQuery<T> |
AVQuery.whereExists(String key)
Add a constraint for finding objects that contain the given key.
|
AVQuery<T> |
AVQuery.whereGreaterThan(String key,
Object value)
Add a constraint to the query that requires a particular key's value to be greater than the
provided value.
w
|
AVQuery<T> |
AVQuery.whereGreaterThanOrEqualTo(String key,
Object value)
Add a constraint to the query that requires a particular key's value to be greater or equal to
than the provided value.
|
AVQuery<T> |
AVQuery.whereLessThan(String key,
Object value)
Add a constraint to the query that requires a particular key's value to be less than the
provided value.
|
AVQuery<T> |
AVQuery.whereLessThanOrEqualTo(String key,
Object value)
Add a constraint to the query that requires a particular key's value to be less or equal to
than the provided value.
|
AVQuery<T> |
AVQuery.whereMatches(String key,
String regex)
Add a regular expression constraint for finding string values that match the provided regular
expression.
|
AVQuery<T> |
AVQuery.whereMatches(String key,
String regex,
String modifiers)
Add a regular expression constraint for finding string values that match the provided regular
expression.
|
AVQuery<T> |
AVQuery.whereMatchesKeyInQuery(String key,
String keyInQuery,
AVQuery<?> query)
Add a constraint to the query that requires a particular key's value matches a value for a key
in the results of another AVQuery
|
AVQuery<T> |
AVQuery.whereMatchesQuery(String key,
AVQuery<?> query)
Add a constraint to the query that requires a particular key's value match another AVQuery.
|
AVQuery<T> |
AVQuery.whereNear(String key,
AVGeoPoint point)
Add a proximity based constraint for finding objects with key point values near the point
given.
|
AVQuery<T> |
AVQuery.whereNotContainedIn(String key,
Collection<? extends Object> values)
Add a constraint to the query that requires a particular key's value not be contained in the
provided list of values.
|
AVQuery<T> |
AVQuery.whereNotEqualTo(String key,
Object value)
Add a constraint to the query that requires a particular key's value to be not equal to the
provided value.
|
AVQuery<T> |
AVQuery.whereSizeEqual(String key,
int size)
添加查询约束条件,查找key类型是数组,该数组的长度匹配提供的数值。
|
AVQuery<T> |
AVQuery.whereStartsWith(String key,
String prefix)
Add a constraint for finding string values that start with a provided string.
|
AVQuery<T> |
AVQuery.whereWithinGeoBox(String key,
AVGeoPoint southwest,
AVGeoPoint northeast)
Add a constraint to the query that requires a particular key's coordinates be contained within
a given rectangular geographic bounding box.
|
AVQuery<T> |
AVQuery.whereWithinKilometers(String key,
AVGeoPoint point,
double maxDistance)
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
|
AVQuery<T> |
AVQuery.whereWithinKilometers(String key,
AVGeoPoint point,
double maxDistance,
double minDistance)
Add a proximity based constraint for finding objects with key point values near the point given
and within the given ring area
Radius of earth used is 6371.0 kilometers.
|
AVQuery<T> |
AVQuery.whereWithinMiles(String key,
AVGeoPoint point,
double maxDistance)
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
|
AVQuery<T> |
AVQuery.whereWithinMiles(String key,
AVGeoPoint point,
double maxDistance,
double minDistance)
Add a proximity based constraint for finding objects with key point values near the point
given and within the given ring.
|
AVQuery<T> |
AVQuery.whereWithinRadians(String key,
AVGeoPoint point,
double maxDistance)
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
|
AVQuery<T> |
AVQuery.whereWithinRadians(String key,
AVGeoPoint point,
double maxDistance,
double minDistance)
Add a proximity based constraint for finding objects with key point values near the point given
and within the maximum distance given.
|
| 限定符和类型 | 方法和说明 |
|---|---|
AVSaveOption |
AVSaveOption.query(AVQuery query)
Only save object when query matches AVObject instance data
|
static io.reactivex.Observable<JSONObject> |
AVPush.sendDataInBackground(JSONObject data,
AVQuery<? extends AVInstallation> query)
A helper method to concisely send a push to a query.
|
static void |
AVPush.sendDataInBackground(JSONObject data,
AVQuery<? extends AVInstallation> query,
SendCallback callback)
A helper method to concisely send a push to a query.
|
static io.reactivex.Observable<JSONObject> |
AVPush.sendMessageInBackground(String message,
AVQuery<? extends AVInstallation> query)
A helper method to concisely send a push message to a query.
|
static void |
AVPush.sendMessageInBackground(String message,
AVQuery<? extends AVInstallation> query,
SendCallback callback)
A helper method to concisely send a push message to a query.
|
io.reactivex.Observable<AVStatus> |
AVStatus.sendToUsersInBackground(AVQuery query)
send to user with query.
|
io.reactivex.Observable<AVStatus> |
AVStatus.sendToUsersInBackground(String inboxType,
AVQuery query)
send to user with query and inboxType.
|
void |
AVPush.setQuery(AVQuery<? extends AVInstallation> query)
Sets the query for this push for which this push notification will be sent.
|
AVQuery<T> |
AVQuery.whereDoesNotMatchKeyInQuery(String key,
String keyInQuery,
AVQuery<?> query)
Add a constraint to the query that requires a particular key's value does not match any value
for a key in the results of another AVQuery.
|
AVQuery<T> |
AVQuery.whereDoesNotMatchQuery(String key,
AVQuery<?> query)
Add a constraint to the query that requires a particular key's value does not match another
AVQuery.
|
AVQuery<T> |
AVQuery.whereMatchesKeyInQuery(String key,
String keyInQuery,
AVQuery<?> query)
Add a constraint to the query that requires a particular key's value matches a value for a key
in the results of another AVQuery
|
AVQuery<T> |
AVQuery.whereMatchesQuery(String key,
AVQuery<?> query)
Add a constraint to the query that requires a particular key's value match another AVQuery.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends AVObject> |
AVQuery.and(List<AVQuery<T>> queries)
Constructs a query that is the and of the given queries.
|
static <T extends AVObject> |
AVQuery.or(List<AVQuery<T>> queries)
Constructs a query that is the or of the given queries.
|
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.