V
- public interface RGeo<V> extends RExpirable, RGeoAsync<V>
Modifier and Type | Method and Description |
---|---|
long |
add(double longitude,
double latitude,
V member)
Adds geospatial member.
|
long |
add(GeoEntry... entries)
Adds geospatial members.
|
Double |
dist(V firstMember,
V secondMember,
GeoUnit geoUnit)
Returns distance between members in
GeoUnit units. |
Map<V,String> |
hash(V... members)
Returns 11 characters Geohash string mapped by defined member.
|
Map<V,GeoPosition> |
pos(V... members)
Returns geo-position mapped by defined member.
|
List<V> |
radius(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units. |
List<V> |
radius(V member,
double radius,
GeoUnit geoUnit)
Returns the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units. |
Map<V,Double> |
radiusWithDistance(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the location.
|
Map<V,Double> |
radiusWithDistance(V member,
double radius,
GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the defined member location.
|
Map<V,GeoPosition> |
radiusWithPosition(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(V member,
double radius,
GeoUnit geoUnit)
Returns the geo-position mapped by member.
|
clearExpire, expire, expireAt, expireAt, remainTimeToLive
delete, getName, isExists, migrate, move, rename, renamenx
addAsync, addAsync, distAsync, hashAsync, posAsync, radiusAsync, radiusAsync, radiusWithDistanceAsync, radiusWithDistanceAsync, radiusWithPositionAsync, radiusWithPositionAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync
long add(double longitude, double latitude, V member)
entries
- long add(GeoEntry... entries)
entries
- Double dist(V firstMember, V secondMember, GeoUnit geoUnit)
GeoUnit
units.firstMember
- secondMember
- geoUnit
- GeoUnit}
Map<V,String> hash(V... members)
members
- Map<V,GeoPosition> pos(V... members)
members
- List<V> radius(double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- latitude
- radius
- geoUnit
- Map<V,Double> radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- latitude
- radius
- geoUnit
- Map<V,GeoPosition> radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- latitude
- radius
- geoUnit
- List<V> radius(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- latitude
- radius
- geoUnit
- Map<V,Double> radiusWithDistance(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- latitude
- radius
- geoUnit
- Map<V,GeoPosition> radiusWithPosition(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- latitude
- radius
- geoUnit
- Copyright © 2014–2016. All rights reserved.