V
- public interface RGeoAsync<V> extends RExpirableAsync
Modifier and Type | Method and Description |
---|---|
RFuture<Long> |
addAsync(double longitude,
double latitude,
V member)
Adds geospatial member.
|
RFuture<Long> |
addAsync(GeoEntry... entries)
Adds geospatial members.
|
RFuture<Double> |
distAsync(V firstMember,
V secondMember,
GeoUnit geoUnit)
Returns distance between members in
GeoUnit units. |
RFuture<Map<V,String>> |
hashAsync(V... members)
Returns 11 characters Geohash string mapped by defined member.
|
RFuture<Map<V,GeoPosition>> |
posAsync(V... members)
Returns geo-position mapped by defined member.
|
RFuture<List<V>> |
radiusAsync(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. |
RFuture<List<V>> |
radiusAsync(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. |
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(V member,
double radius,
GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the defined member location.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(V member,
double radius,
GeoUnit geoUnit)
Returns the geo-position mapped by member.
|
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync
RFuture<Long> addAsync(double longitude, double latitude, V member)
entries
- RFuture<Long> addAsync(GeoEntry... entries)
entries
- RFuture<Double> distAsync(V firstMember, V secondMember, GeoUnit geoUnit)
GeoUnit
units.firstMember
- secondMember
- geoUnit
- GeoUnit}
RFuture<Map<V,String>> hashAsync(V... members)
members
- RFuture<Map<V,GeoPosition>> posAsync(V... members)
members
- RFuture<List<V>> radiusAsync(double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- latitude
- radius
- geoUnit
- RFuture<Map<V,Double>> radiusWithDistanceAsync(double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- latitude
- radius
- geoUnit
- RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- latitude
- radius
- geoUnit
- RFuture<List<V>> radiusAsync(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- latitude
- radius
- geoUnit
- RFuture<Map<V,Double>> radiusWithDistanceAsync(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- latitude
- radius
- geoUnit
- RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- latitude
- radius
- geoUnit
- Copyright © 2014–2016 The Redisson Project. All rights reserved.