V
- type of valuepublic interface RGeoAsync<V> extends RScoredSortedSetAsync<V>
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(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
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 with GeoOrder
Requires Redis 3.2.10 and higher. |
RFuture<List<V>> |
radiusAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
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 with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher. |
RFuture<List<V>> |
radiusAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
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 and limited by count
Requires Redis 3.2.10 and higher. |
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<List<V>> |
radiusAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
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 with GeoOrder
Requires Redis 3.2.10 and higher. |
RFuture<List<V>> |
radiusAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
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 with GeoOrder
Requires Redis 3.2.10 and higher. |
RFuture<List<V>> |
radiusAsync(V member,
double radius,
GeoUnit geoUnit,
int count)
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 and limited by count
Requires Redis 3.2.10 and higher. |
RFuture<Long> |
radiusStoreToAsync(String destName,
double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Finds 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<Long> |
radiusStoreToAsync(String destName,
double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Finds 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 with GeoOrder
and limited by count
Store result to destName . |
RFuture<Long> |
radiusStoreToAsync(String destName,
double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Finds 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 and limited by count
Store result to destName . |
RFuture<Long> |
radiusStoreToAsync(String destName,
V member,
double radius,
GeoUnit geoUnit)
Finds 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<Long> |
radiusStoreToAsync(String destName,
V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Finds 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 with GeoOrder
Store result to destName . |
RFuture<Long> |
radiusStoreToAsync(String destName,
V member,
double radius,
GeoUnit geoUnit,
int count)
Finds 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 and limited by count
Store result to destName . |
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(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the distance mapped by member, distance between member and the location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the distance mapped by member, distance between member and the location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
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,Double>> |
radiusWithDistanceAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the distance mapped by member, distance between member and the defined member location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the distance mapped by member, distance between member and the defined member location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(V member,
double radius,
GeoUnit geoUnit,
int count)
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(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
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.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(V member,
double radius,
GeoUnit geoUnit,
int count)
Returns the geo-position mapped by member.
|
addAllAsync, addAndGetRankAsync, addAndGetRevRankAsync, addAsync, addScoreAndGetRankAsync, addScoreAndGetRevRankAsync, addScoreAsync, containsAllAsync, containsAsync, countAsync, entryRangeAsync, entryRangeAsync, entryRangeAsync, entryRangeReversedAsync, entryRangeReversedAsync, entryRangeReversedAsync, firstAsync, firstScoreAsync, getScoreAsync, intersectionAsync, intersectionAsync, intersectionAsync, intersectionAsync, lastAsync, lastScoreAsync, pollFirstAsync, pollFirstAsync, pollFirstAsync, pollFirstFromAnyAsync, pollLastAsync, pollLastAsync, pollLastAsync, pollLastFromAnyAsync, rankAsync, readAllAsync, removeAllAsync, removeAsync, removeRangeByRankAsync, removeRangeByScoreAsync, retainAllAsync, revRankAsync, sizeAsync, takeFirstAsync, takeLastAsync, tryAddAsync, unionAsync, unionAsync, unionAsync, unionAsync, valueRangeAsync, valueRangeAsync, valueRangeAsync, valueRangeReversedAsync, valueRangeReversedAsync, valueRangeReversedAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsync
readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync
RFuture<Long> addAsync(double longitude, double latitude, V member)
longitude
- - longitude of objectlatitude
- - latitude of objectmember
- - object itselfRFuture<Long> addAsync(GeoEntry... entries)
entries
- - objectsRFuture<Double> distAsync(V firstMember, V secondMember, GeoUnit geoUnit)
GeoUnit
units.firstMember
- - first objectsecondMember
- - second objectgeoUnit
- - geo unitRFuture<Map<V,String>> hashAsync(V... members)
members
- - objectsRFuture<Map<V,GeoPosition>> posAsync(V... members)
members
- - objectsRFuture<List<V>> radiusAsync(double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.
Requires Redis 3.2.10 and higher.
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitRFuture<List<V>> radiusAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by count
Requires Redis 3.2.10 and higher.
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitRFuture<List<V>> radiusAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
Requires Redis 3.2.10 and higher.
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of resultRFuture<List<V>> radiusAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of resultcount
- - result limitRFuture<Map<V,Double>> radiusWithDistanceAsync(double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.
Requires Redis 3.2.10 and higher.
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitRFuture<Map<V,Double>> radiusWithDistanceAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by count.
Requires Redis 3.2.10 and higher.
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitRFuture<Map<V,Double>> radiusWithDistanceAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
Requires Redis 3.2.10 and higher.
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of resultRFuture<Map<V,Double>> radiusWithDistanceAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of resultcount
- - result limitRFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.
Requires Redis 3.2.10 and higher.
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitRFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by count
Requires Redis 3.2.10 and higher.
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitRFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
Requires Redis 3.2.10 and higher.
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo orderRFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo ordercount
- - result limitRFuture<List<V>> radiusAsync(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.
Requires Redis 3.2.10 and higher.
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitRFuture<List<V>> radiusAsync(V member, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by count
Requires Redis 3.2.10 and higher.
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitRFuture<List<V>> radiusAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
Requires Redis 3.2.10 and higher.
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo orderRFuture<List<V>> radiusAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
Requires Redis 3.2.10 and higher.
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo ordercount
- - result limitRFuture<Map<V,Double>> radiusWithDistanceAsync(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.
Requires Redis 3.2.10 and higher.
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitRFuture<Map<V,Double>> radiusWithDistanceAsync(V member, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by count
Requires Redis 3.2.10 and higher.
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitRFuture<Map<V,Double>> radiusWithDistanceAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
Requires Redis 3.2.10 and higher.
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geoRFuture<Map<V,Double>> radiusWithDistanceAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geocount
- - result limitRFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.
Requires Redis 3.2.10 and higher.
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitRFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by count
Requires Redis 3.2.10 and higher.
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitRFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
Requires Redis 3.2.10 and higher.
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo orderRFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo ordercount
- - result limitRFuture<Long> radiusStoreToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.
Store result to destName
.destName
- - Geo object destinationlongitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitRFuture<Long> radiusStoreToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by count
Store result to destName
.destName
- - Geo object destinationlongitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitRFuture<Long> radiusStoreToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
and limited by count
Store result to destName
.destName
- - Geo object destinationlongitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of resultcount
- - result limitRFuture<Long> radiusStoreToAsync(String destName, V member, double radius, GeoUnit geoUnit)
GeoUnit
units.
Store result to destName
.destName
- - Geo object destinationmember
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitRFuture<Long> radiusStoreToAsync(String destName, V member, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by count
Store result to destName
.destName
- - Geo object destinationmember
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitRFuture<Long> radiusStoreToAsync(String destName, V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
Store result to destName
.destName
- - Geo object destinationmember
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo ordercount
- - result limitCopyright © 2014–2019 The Redisson Project. All rights reserved.