| Modifier and Type | Method and Description |
|---|---|
ParseQuery<T> |
ParseQuery.addAscendingOrder(String key)
Also sorts the results in ascending order by the given key.
|
ParseQuery<T> |
ParseQuery.addDescendingOrder(String key)
Also sorts the results in descending order by the given key.
|
ParseQuery<T> |
ParseQueryAdapter.QueryFactory.create() |
ParseQuery<T> |
ParseQuery.fromLocalDatastore()
Change the source of this query to all pinned objects.
|
ParseQuery<T> |
ParseQuery.fromPin()
Change the source of this query to the default group of pinned objects.
|
ParseQuery<T> |
ParseQuery.fromPin(String name)
Change the source of this query to a specific group of pinned objects.
|
static ParseQuery<ParseUser> |
ParseUser.getQuery()
Constructs a query for
ParseUser. |
static ParseQuery<ParseRole> |
ParseRole.getQuery()
Gets a
ParseQuery over the Role collection. |
ParseQuery<T> |
ParseRelation.getQuery()
Gets a query that can be used to query the objects in this relation.
|
static ParseQuery<ParseInstallation> |
ParseInstallation.getQuery()
/**
Constructs a query for
ParseInstallation. |
static <T extends ParseObject> |
ParseQuery.getQuery(Class<T> subclass)
Creates a new query for the given ParseObject subclass type.
|
static <T extends ParseObject> |
ParseQuery.getQuery(String className)
Creates a new query for the given class name.
|
static ParseQuery<ParseUser> |
ParseQuery.getUserQuery()
Deprecated.
Please use
ParseUser.getQuery() instead. |
static <T extends ParseObject> |
ParseQuery.or(List<ParseQuery<T>> queries)
Constructs a query that is the or of the given queries.
|
ParseQuery<T> |
ParseQuery.orderByAscending(String key)
Sorts the results in ascending order by the given key.
|
ParseQuery<T> |
ParseQuery.orderByDescending(String key)
Sorts the results in descending order by the given key.
|
ParseQuery<T> |
ParseQuery.setLimit(int newLimit)
Controls the maximum number of results that are returned.
|
ParseQuery<T> |
ParseQuery.setSkip(int newSkip)
Controls the number of results to skip before returning any results.
|
ParseQuery<T> |
ParseQuery.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.
|
ParseQuery<T> |
ParseQuery.whereContains(String key,
String substring)
Add a constraint for finding string values that contain a provided string.
|
ParseQuery<T> |
ParseQuery.whereContainsAll(String key,
Collection<?> values)
Add a constraint to the query that requires a particular key's value match another ParseQuery.
|
ParseQuery<T> |
ParseQuery.whereDoesNotExist(String key)
Add a constraint for finding objects that do not contain a given key.
|
ParseQuery<T> |
ParseQuery.whereDoesNotMatchKeyInQuery(String key,
String keyInQuery,
ParseQuery<?> 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 ParseQuery.
|
ParseQuery<T> |
ParseQuery.whereDoesNotMatchQuery(String key,
ParseQuery<?> query)
Add a constraint to the query that requires a particular key's value does not match another
ParseQuery.
|
ParseQuery<T> |
ParseQuery.whereEndsWith(String key,
String suffix)
Add a constraint for finding string values that end with a provided string.
|
ParseQuery<T> |
ParseQuery.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.
|
ParseQuery<T> |
ParseQuery.whereExists(String key)
Add a constraint for finding objects that contain the given key.
|
ParseQuery<T> |
ParseQuery.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.
|
ParseQuery<T> |
ParseQuery.whereGreaterThanOrEqualTo(String key,
Object value)
Add a constraint to the query that requires a particular key's value to be greater than or
equal to the provided value.
|
ParseQuery<T> |
ParseQuery.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.
|
ParseQuery<T> |
ParseQuery.whereLessThanOrEqualTo(String key,
Object value)
Add a constraint to the query that requires a particular key's value to be less than or equal
to the provided value.
|
ParseQuery<T> |
ParseQuery.whereMatches(String key,
String regex)
Add a regular expression constraint for finding string values that match the provided regular
expression.
|
ParseQuery<T> |
ParseQuery.whereMatches(String key,
String regex,
String modifiers)
Add a regular expression constraint for finding string values that match the provided regular
expression.
|
ParseQuery<T> |
ParseQuery.whereMatchesKeyInQuery(String key,
String keyInQuery,
ParseQuery<?> 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 ParseQuery
|
ParseQuery<T> |
ParseQuery.whereMatchesQuery(String key,
ParseQuery<?> query)
Add a constraint to the query that requires a particular key's value match another ParseQuery.
|
ParseQuery<T> |
ParseQuery.whereNear(String key,
ParseGeoPoint point)
Add a proximity based constraint for finding objects with key point values near the point
given.
|
ParseQuery<T> |
ParseQuery.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.
|
ParseQuery<T> |
ParseQuery.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.
|
ParseQuery<T> |
ParseQuery.whereStartsWith(String key,
String prefix)
Add a constraint for finding string values that start with a provided string.
|
ParseQuery<T> |
ParseQuery.whereWithinGeoBox(String key,
ParseGeoPoint southwest,
ParseGeoPoint northeast)
Add a constraint to the query that requires a particular key's coordinates be contained within
a given rectangular geographic bounding box.
|
ParseQuery<T> |
ParseQuery.whereWithinKilometers(String key,
ParseGeoPoint 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.
|
ParseQuery<T> |
ParseQuery.whereWithinMiles(String key,
ParseGeoPoint 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.
|
ParseQuery<T> |
ParseQuery.whereWithinRadians(String key,
ParseGeoPoint 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.
|
| Modifier and Type | Method and Description |
|---|---|
static Task<Void> |
ParsePush.sendDataInBackground(JSONObject data,
ParseQuery<ParseInstallation> query)
A helper method to concisely send a push to a query.
|
static void |
ParsePush.sendDataInBackground(JSONObject data,
ParseQuery<ParseInstallation> query,
SendCallback callback)
A helper method to concisely send a push to a query.
|
static Task<Void> |
ParsePush.sendMessageInBackground(String message,
ParseQuery<ParseInstallation> query)
A helper method to concisely send a push message to a query.
|
static void |
ParsePush.sendMessageInBackground(String message,
ParseQuery<ParseInstallation> query,
SendCallback callback)
A helper method to concisely send a push message to a query.
|
protected void |
ParseQueryAdapter.setPageOnQuery(int page,
ParseQuery<T> query)
Override this method to manually paginate the provided
ParseQuery. |
void |
ParsePush.setQuery(ParseQuery<ParseInstallation> query)
Sets the query for this push for which this push notification will be sent.
|
ParseQuery<T> |
ParseQuery.whereDoesNotMatchKeyInQuery(String key,
String keyInQuery,
ParseQuery<?> 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 ParseQuery.
|
ParseQuery<T> |
ParseQuery.whereDoesNotMatchQuery(String key,
ParseQuery<?> query)
Add a constraint to the query that requires a particular key's value does not match another
ParseQuery.
|
ParseQuery<T> |
ParseQuery.whereMatchesKeyInQuery(String key,
String keyInQuery,
ParseQuery<?> 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 ParseQuery
|
ParseQuery<T> |
ParseQuery.whereMatchesQuery(String key,
ParseQuery<?> query)
Add a constraint to the query that requires a particular key's value match another ParseQuery.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends ParseObject> |
ParseQuery.or(List<ParseQuery<T>> queries)
Constructs a query that is the or of the given queries.
|