| Package | Description |
|---|---|
| com.avos.avoscloud |
| Modifier and Type | Method and Description |
|---|---|
static AVGeoPoint |
AVUtils.geoPointFromMap(Map<String,Object> map) |
AVGeoPoint |
AVObject.getAVGeoPoint(String key)
Access a AVGeoPoint value.
|
AVGeoPoint |
AVStatus.getAVGeoPoint(String key)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
double |
AVGeoPoint.distanceInKilometersTo(AVGeoPoint point)
Get distance between this point and another geopoint in kilometers.
|
double |
AVGeoPoint.distanceInMilesTo(AVGeoPoint point)
Get distance between this point and another geopoint in miles.
|
double |
AVGeoPoint.distanceInRadiansTo(AVGeoPoint point)
Get distance in radians between this point and another GeoPoint.
|
static Map<String,Object> |
AVUtils.mapFromGeoPoint(AVGeoPoint point) |
AVQuery<T> |
AVQuery.whereNear(String key,
AVGeoPoint point)
Add a proximity based constraint for finding objects with key point values near the point
given.
|
void |
QueryConditions.whereNear(String key,
AVGeoPoint point) |
AVFriendshipQuery<T> |
AVFriendshipQuery.whereNear(String key,
AVGeoPoint point)
Add a proximity based constraint for finding objects with key point values near the point
given.
|
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.
|
void |
QueryConditions.whereWithinGeoBox(String key,
AVGeoPoint southwest,
AVGeoPoint northeast) |
AVFriendshipQuery<T> |
AVFriendshipQuery.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.
|
void |
QueryConditions.whereWithinKilometers(String key,
AVGeoPoint point,
double maxDistance) |
AVFriendshipQuery<T> |
AVFriendshipQuery.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.
|
void |
QueryConditions.whereWithinKilometers(String key,
AVGeoPoint point,
double maxDistance,
double minDistance) |
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.
|
void |
QueryConditions.whereWithinMiles(String key,
AVGeoPoint point,
double maxDistance) |
AVFriendshipQuery<T> |
AVFriendshipQuery.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.
|
void |
QueryConditions.whereWithinMiles(String key,
AVGeoPoint point,
double maxDistance,
double minDistance) |
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.
|
void |
QueryConditions.whereWithinRadians(String key,
AVGeoPoint point,
double maxDistance) |
AVFriendshipQuery<T> |
AVFriendshipQuery.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.
|
void |
QueryConditions.whereWithinRadians(String key,
AVGeoPoint point,
double maxDistance,
double minDistance) |
Copyright © 2017. All rights reserved.