|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StackMobQuery | |
|---|---|
| com.stackmob.sdk.api | Classes for communicating directly with StackMob. |
| com.stackmob.sdk.model | Base classes for objects that map to StackMob data. |
| Uses of StackMobQuery in com.stackmob.sdk.api |
|---|
| Methods in com.stackmob.sdk.api that return StackMobQuery | |
|---|---|
StackMobQuery |
StackMobQuery.add(StackMobQuery other)
copy the constraints in a give query to this one |
StackMobQuery |
StackMobQuery.and()
Separate two constraints with an AND. |
StackMobQuery |
StackMobQuery.and(StackMobQuery clauses)
Add a new parenthesized expression to be joined by AND with the other constraints in the query. |
StackMobQuery |
StackMobQuery.field(StackMobQueryField field)
Begin adding constraints to a field via a StackMobQueryField |
StackMobQuery |
StackMobQuery.fieldIsEqualTo(String field,
int val)
add an "=" to your query. |
StackMobQuery |
StackMobQuery.fieldIsEqualTo(String field,
String val)
add an "=" to your query. |
StackMobQuery |
StackMobQuery.fieldIsGreaterThan(String field,
int val)
same as fieldIsLessThan(String, String), except applies ">" instead of "<" |
StackMobQuery |
StackMobQuery.fieldIsGreaterThan(String field,
String val)
same as fieldIsLessThan(String, String), except applies ">" instead of "<" |
StackMobQuery |
StackMobQuery.fieldIsGreaterThanOrEqualTo(String field,
int val)
same as fieldIsLessThan(String, String), except applies ">=" instead of "<" |
StackMobQuery |
StackMobQuery.fieldIsGreaterThanOrEqualTo(String field,
String val)
same as fieldIsLessThan(String, String), except applies ">=" instead of "<" |
StackMobQuery |
StackMobQuery.fieldIsIn(String field,
List<String> values)
add an "IN" to your query. |
StackMobQuery |
StackMobQuery.fieldIsLessThan(String field,
int val)
same as fieldIsLessThan(String, String), except works with Strings |
StackMobQuery |
StackMobQuery.fieldIsLessThan(String field,
String val)
same as fieldIsLessThan(String, String), except works with Strings |
StackMobQuery |
StackMobQuery.fieldIsLessThanOrEqualTo(String field,
int val)
same as fieldIsLessThan(String, String), except applies "<=" instead of "<" |
StackMobQuery |
StackMobQuery.fieldIslessThanOrEqualTo(String field,
String val)
same as fieldIsLessThan(String, String), except applies "<=" instead of "<" |
StackMobQuery |
StackMobQuery.fieldIsNear(String field,
StackMobGeoPoint point)
add a "NEAR" to your query for the given StackMobGeoPoint field. |
StackMobQuery |
StackMobQuery.fieldIsNearWithinKm(String field,
StackMobGeoPoint point,
Double maxDistanceKm)
add a "NEAR" to your query for the given StackMobGeoPoint field. |
StackMobQuery |
StackMobQuery.fieldIsNearWithinMi(String field,
StackMobGeoPoint point,
Double maxDistanceMi)
add a "NEAR" to your query for the given StackMobGeoPoint field. |
StackMobQuery |
StackMobQuery.fieldIsNotEqual(String field,
String val)
add a "NE" to your query. |
StackMobQuery |
StackMobQuery.fieldIsNotIn(String field,
List<String> values)
add a "NIN" to your query. |
StackMobQuery |
StackMobQuery.fieldIsNotNull(String field)
add a "NULL" to your query. |
StackMobQuery |
StackMobQuery.fieldIsNull(String field)
add a "NULL" to your query. |
StackMobQuery |
StackMobQuery.fieldIsOrderedBy(String field,
StackMobQuery.Ordering ordering)
add an "ORDER BY" to your query |
StackMobQuery |
StackMobQuery.fieldIsWithinBox(String field,
StackMobGeoPoint lowerLeft,
StackMobGeoPoint upperRight)
add a "WITHIN" to your query for the given StackMobGeoPoint field. |
StackMobQuery |
StackMobQuery.fieldIsWithinRadiusInKm(String field,
StackMobGeoPoint point,
Double radiusInKm)
add a "WITHIN" to your query for the given StackMobGeoPoint field. |
StackMobQuery |
StackMobQuery.fieldIsWithinRadiusInMi(String field,
StackMobGeoPoint point,
Double radiusInMi)
add a "WITHIN" to your query for the given StackMobGeoPoint field. |
StackMobQuery |
StackMobQueryField.getQuery()
get the actual query to be used or extended further |
StackMobQuery |
StackMobQuery.isInRange(Integer start)
same thing as isInRange(Integer, Integer), except does not specify an end to the range. |
StackMobQuery |
StackMobQuery.isInRange(Integer start,
Integer end)
this method lets you add a "LIMIT" and "SKIP" to your query at once. |
static StackMobQuery |
StackMobQuery.objects(String objectName)
create a query on a specific object |
StackMobQuery |
StackMobQuery.or()
Separate two constraints with an OR. |
StackMobQuery |
StackMobQuery.or(StackMobQuery clauses)
Add a new parenthesized expression to be joined by OR with the other constraints in the query. |
| Methods in com.stackmob.sdk.api with parameters of type StackMobQuery | |
|---|---|
StackMobQuery |
StackMobQuery.add(StackMobQuery other)
copy the constraints in a give query to this one |
StackMobQuery |
StackMobQuery.and(StackMobQuery clauses)
Add a new parenthesized expression to be joined by AND with the other constraints in the query. |
void |
StackMobDatastore.count(StackMobQuery query,
StackMobRawCallback callback)
retrieve the number of objects for a query on the StackMob platform |
void |
StackMobDatastore.delete(StackMobQuery query,
StackMobRawCallback callback)
do a DELETE request to the StackMob platform, with query parameters. |
void |
StackMobDatastore.get(StackMobQuery query,
StackMobOptions options,
StackMobRawCallback callback)
do a get request on the StackMob platform |
void |
StackMobDatastore.get(StackMobQuery query,
StackMobRawCallback callback)
do a get request on the StackMob platform |
void |
StackMobDatastore.head(StackMobQuery query,
StackMobOptions options,
StackMobRawCallback callback)
do a head request on the StackMob platform |
void |
StackMobDatastore.head(StackMobQuery query,
StackMobRawCallback callback)
do a head request on the StackMob platform |
StackMobQuery |
StackMobQuery.or(StackMobQuery clauses)
Add a new parenthesized expression to be joined by OR with the other constraints in the query. |
| Uses of StackMobQuery in com.stackmob.sdk.model |
|---|
| Methods in com.stackmob.sdk.model with parameters of type StackMobQuery | ||
|---|---|---|
static
|
StackMobModel.count(Class<T> theClass,
StackMobQuery q,
StackMobCountCallback callback)
run a count query on the server to count all the instances of your model within certain constraints |
|
static
|
StackMobModel.count(StackMob stackmob,
Class<T> theClass,
StackMobQuery q,
StackMobCountCallback callback)
run a count query on the server to count all the instances of your model within certain constraints |
|
static
|
StackMobModel.delete(Class<T> theClass,
StackMobQuery q,
StackMobCountCallback callback)
run a delete request with query parameters on the server. |
|
static
|
StackMobModel.delete(StackMob stackmob,
Class<T> theClass,
StackMobQuery q,
StackMobCallback callback)
run a delete request with query parameters on the server. |
|
static
|
StackMobModel.query(Class<T> theClass,
StackMobQuery q,
StackMobOptions options,
StackMobQueryCallback<T> callback)
run a query on the server to get all the instances of your model within certain constraints |
|
static
|
StackMobModel.query(Class<T> theClass,
StackMobQuery q,
StackMobQueryCallback<T> callback)
run a query on the server to get all the instances of your model within certain constraints |
|
static
|
StackMobModel.query(StackMob stackmob,
Class<T> theClass,
StackMobQuery q,
StackMobOptions options,
StackMobQueryCallback<T> callback)
run a query on the server to get all the instances of your model within certain constraints |
|
static
|
StackMobModel.query(StackMob stackmob,
Class<T> theClass,
StackMobQuery q,
StackMobQueryCallback<T> callback)
run a query on the server to get all the instances of your model within certain constraints |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||