Uses of Class
cn.leancloud.LCQuery
Packages that use LCQuery
-
Uses of LCQuery in cn.leancloud
Subclasses of LCQuery in cn.leancloudMethods in cn.leancloud that return LCQueryModifier and TypeMethodDescriptionLCQuery.addAscendingOrder(String key) Also sorts the results in ascending order by the given key.LCQuery.addDescendingOrder(String key) Also sorts the results in descending order by the given key.LCQuery.addWhereItem(String key, String op, Object value) Constructs a query that is the and of the given queries.LCQuery.clone()Clone a new query object, which fully same to this.LCUser.followeeQuery()get followee query.LCUser.followeeQuery(String userObjectId, Class<T> clazz) get followee query.LCUser.followerQuery()get follower query.LCUser.followerQuery(String userObjectId, Class<T> clazz) get follower query.LCUser.friendshipBlockQuery()get block query.LCUser.friendshipBlockQuery(Class<T> clazz) get block query.LCUser.friendshipQuery(boolean isFollowerDirection) get friendship query of current user.LCUser.friendshipRequestQuery(int status, boolean includeTargetUser, boolean requestToMe) get query for AVFriendshipRequest.LCQuery<? extends LCInstallation> LCPush.getPushQuery()Return push query instance.static LCQuery<LCInstallation> LCInstallation.getQuery()Get query for class.Create a AVQuery with special sub-class.Constructs a query.LCRelation.getQuery()Gets a query that can be used to query the objects in this relation.Gets a query that can be used to query the subclass objects in this relation.LCRole.getQuery()LCUser.getQuery()Get User QueryLCUser.getUserQuery(Class<T> clazz) Get User QueryInclude nested AVObjects for the provided key.LCQuery.includeACL(boolean includeACL) set include ACL or not.LCQuery.limit(int limit) Constructs a query that is the or of the given queries.LCQuery.orderByAscending(String key) Sorts the results in ascending order by the given key.LCQuery.orderByDescending(String key) Sorts the results in descending order by the given key.LCRelation.reverseQuery(Class<M> theParentClazz, String relationKey, LCObject child) Create a query that can be used to query the parent objects in this relation.LCRelation.reverseQuery(String parentClassName, String relationKey, LCObject child) Create a query that can be used to query the parent objects in this relation.LCQuery.selectKeys(Collection<String> keys) Restrict the fields of returned AVObjects to only include the provided keys.LCQuery.setCachePolicy(LCQuery.CachePolicy cachePolicy) Change the caching policy of this query.LCQuery.setClassName(String className) Set class nameLCQuery.setLimit(int limit) Controls the maximum number of results that are returned.LCQuery.setMaxCacheAge(long maxCacheAge) Sets the maximum age of cached data that will be considered in this query.Set query order fields.LCQuery.setPolicy(LCQuery.CachePolicy policy) Change the caching policy of this query.LCQuery.setSkip(int skip) Controls the number of results to skip before returning any results.LCQuery.skip(int skip) LCQuery.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.LCQuery.whereContains(String key, String substring) Add a constraint for finding string values that contain a provided string.LCQuery.whereContainsAll(String key, Collection<?> values) Add a constraint to the query that requires a particular key's value match another AVQuery.LCQuery.whereDoesNotExist(String key) Add a constraint for finding objects that do not contain a given key.LCQuery.whereDoesNotMatchKeyInQuery(String key, String keyInQuery, LCQuery<?> 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.LCQuery.whereDoesNotMatchQuery(String key, LCQuery<?> query) Add a constraint to the query that requires a particular key's value does not match another AVQuery.LCQuery.whereEndsWith(String key, String suffix) Add a constraint for finding string values that end with a provided string.LCQuery.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.LCQuery.whereExists(String key) Add a constraint for finding objects that contain the given key.LCQuery.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.LCQuery.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.LCQuery.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.LCQuery.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.LCQuery.whereMatches(String key, String regex) Add a regular expression constraint for finding string values that match the provided regular expression.LCQuery.whereMatches(String key, String regex, String modifiers) Add a regular expression constraint for finding string values that match the provided regular expression.LCQuery.whereMatchesKeyInQuery(String key, String keyInQuery, LCQuery<?> 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 AVQueryLCQuery.whereMatchesQuery(String key, LCQuery<?> query) Add a constraint to the query that requires a particular key's value match another AVQuery.LCQuery.whereNear(String key, LCGeoPoint point) Add a proximity based constraint for finding objects with key point values near the point given.LCQuery.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.LCQuery.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.LCQuery.whereSizeEqual(String key, int size) 添加查询约束条件,查找key类型是数组,该数组的长度匹配提供的数值。LCQuery.whereStartsWith(String key, String prefix) Add a constraint for finding string values that start with a provided string.LCQuery.whereWithinGeoBox(String key, LCGeoPoint southwest, LCGeoPoint northeast) Add a constraint to the query that requires a particular key's coordinates be contained within a given rectangular geographic bounding box.LCQuery.whereWithinKilometers(String key, LCGeoPoint 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.LCQuery.whereWithinKilometers(String key, LCGeoPoint 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.LCQuery.whereWithinMiles(String key, LCGeoPoint 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.LCQuery.whereWithinMiles(String key, LCGeoPoint 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.LCQuery.whereWithinRadians(String key, LCGeoPoint 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.LCQuery.whereWithinRadians(String key, LCGeoPoint 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.Methods in cn.leancloud with parameters of type LCQueryModifier and TypeMethodDescriptionOnly save object when query matches AVObject instance datastatic io.reactivex.Observable<JSONObject> LCPush.sendDataInBackground(JSONObject data, LCQuery<? extends LCInstallation> query) A helper method to concisely send a push to a query.static voidLCPush.sendDataInBackground(JSONObject data, LCQuery<? extends LCInstallation> query, SendCallback callback) A helper method to concisely send a push to a query.static io.reactivex.Observable<JSONObject> LCPush.sendMessageInBackground(String message, LCQuery<? extends LCInstallation> query) A helper method to concisely send a push message to a query.static voidLCPush.sendMessageInBackground(String message, LCQuery<? extends LCInstallation> query, SendCallback callback) A helper method to concisely send a push message to a query.io.reactivex.Observable<LCStatus> LCStatus.sendToUsersInBackground(LCQuery query) send to user with query.io.reactivex.Observable<LCStatus> LCStatus.sendToUsersInBackground(String inboxType, LCQuery query) send to user with query and inboxType.voidLCPush.setQuery(LCQuery<? extends LCInstallation> query) Sets the query for this push for which this push notification will be sent.LCQuery.whereDoesNotMatchKeyInQuery(String key, String keyInQuery, LCQuery<?> 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.LCQuery.whereDoesNotMatchQuery(String key, LCQuery<?> query) Add a constraint to the query that requires a particular key's value does not match another AVQuery.LCQuery.whereMatchesKeyInQuery(String key, String keyInQuery, LCQuery<?> 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 AVQueryLCQuery.whereMatchesQuery(String key, LCQuery<?> query) Add a constraint to the query that requires a particular key's value match another AVQuery.Method parameters in cn.leancloud with type arguments of type LCQueryModifier and TypeMethodDescriptionConstructs a query that is the and of the given queries.Constructs a query that is the or of the given queries.