Package org.redisson.api
Interface RGeoAsync<V>
-
- Type Parameters:
V
- type of value
- All Superinterfaces:
RExpirableAsync
,RObjectAsync
,RScoredSortedSetAsync<V>
,RSortableAsync<Set<V>>
- All Known Subinterfaces:
RGeo<V>
- All Known Implementing Classes:
RedissonGeo
public interface RGeoAsync<V> extends RScoredSortedSetAsync<V>
Geospatial items holder. Asynchronous interface.- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 inGeoUnit
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) inGeoUnit
units.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) inGeoUnit
units and limited by countRFuture<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) inGeoUnit
units withGeoOrder
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) inGeoUnit
units withGeoOrder
and limited by countRFuture<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) inGeoUnit
units.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) inGeoUnit
units and limited by countRFuture<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) inGeoUnit
units withGeoOrder
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) inGeoUnit
units withGeoOrder
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) inGeoUnit
units.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) inGeoUnit
units and limited by count Store result todestName
.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) inGeoUnit
units withGeoOrder
and limited by count Store result todestName
.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) inGeoUnit
units.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) inGeoUnit
units and limited by count Store result todestName
.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) inGeoUnit
units withGeoOrder
Store result todestName
.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, 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, 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(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, 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, 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,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, int count)
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(V member, double radius, GeoUnit geoUnit)
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.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.-
Methods inherited from interface org.redisson.api.RExpirableAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
-
Methods inherited from interface org.redisson.api.RObjectAsync
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, touchAsync, unlinkAsync
-
Methods inherited from interface org.redisson.api.RScoredSortedSetAsync
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, tryAddAsync, unionAsync, unionAsync, unionAsync, unionAsync, valueRangeAsync, valueRangeAsync, valueRangeAsync, valueRangeReversedAsync, valueRangeReversedAsync, valueRangeReversedAsync
-
Methods inherited from interface org.redisson.api.RSortableAsync
readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync
-
-
-
-
Method Detail
-
addAsync
RFuture<Long> addAsync(double longitude, double latitude, V member)
Adds geospatial member.- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectmember
- - object itself- Returns:
- number of elements added to the sorted set, not including elements already existing for which the score was updated
-
addAsync
RFuture<Long> addAsync(GeoEntry... entries)
Adds geospatial members.- Parameters:
entries
- - objects- Returns:
- number of elements added to the sorted set, not including elements already existing for which the score was updated
-
distAsync
RFuture<Double> distAsync(V firstMember, V secondMember, GeoUnit geoUnit)
Returns distance between members inGeoUnit
units.- Parameters:
firstMember
- - first objectsecondMember
- - second objectgeoUnit
- - geo unit- Returns:
- distance
-
hashAsync
RFuture<Map<V,String>> hashAsync(V... members)
Returns 11 characters Geohash string mapped by defined member.- Parameters:
members
- - objects- Returns:
- hash mapped by object
-
posAsync
RFuture<Map<V,GeoPosition>> posAsync(V... members)
Returns geo-position mapped by defined member.- Parameters:
members
- - objects- Returns:
- geo position mapped by object
-
radiusAsync
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) inGeoUnit
units.- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unit- Returns:
- list of objects
-
radiusAsync
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) inGeoUnit
units and limited by count- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limit- Returns:
- list of objects
-
radiusAsync
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) inGeoUnit
units withGeoOrder
- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of result- Returns:
- list of objects
-
radiusAsync
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) inGeoUnit
units withGeoOrder
and limited by count- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of resultcount
- - result limit- Returns:
- list of objects
-
radiusWithDistanceAsync
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. 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) inGeoUnit
units.- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unit- Returns:
- distance mapped by object
-
radiusWithDistanceAsync
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. 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) inGeoUnit
units and limited by count.- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limit- Returns:
- distance mapped by object
-
radiusWithDistanceAsync
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. 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) inGeoUnit
units withGeoOrder
- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of result- Returns:
- distance mapped by object
-
radiusWithDistanceAsync
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. 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) inGeoUnit
units withGeoOrder
and limited by count- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of resultcount
- - result limit- Returns:
- distance mapped by object
-
radiusWithPositionAsync
RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit)
Returns the geo-position mapped by member. 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) inGeoUnit
units.- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unit- Returns:
- geo position mapped by object
-
radiusWithPositionAsync
RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
Returns the geo-position mapped by member. 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) inGeoUnit
units and limited by count- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limit- Returns:
- geo position mapped by object
-
radiusWithPositionAsync
RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
Returns the geo-position mapped by member. 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) inGeoUnit
units withGeoOrder
- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo order- Returns:
- geo position mapped by object
-
radiusWithPositionAsync
RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
Returns the geo-position mapped by member. 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) inGeoUnit
units withGeoOrder
and limited by count- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo ordercount
- - result limit- Returns:
- geo position mapped by object
-
radiusAsync
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) inGeoUnit
units.- Parameters:
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unit- Returns:
- list of objects
-
radiusAsync
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) inGeoUnit
units and limited by count- Parameters:
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limit- Returns:
- list of objects
-
radiusAsync
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) inGeoUnit
units withGeoOrder
- Parameters:
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo order- Returns:
- list of objects
-
radiusAsync
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) inGeoUnit
units withGeoOrder
- Parameters:
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo ordercount
- - result limit- Returns:
- list of objects
-
radiusWithDistanceAsync
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. 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) inGeoUnit
units.- Parameters:
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unit- Returns:
- distance mapped by object
-
radiusWithDistanceAsync
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. 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) inGeoUnit
units and limited by count- Parameters:
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limit- Returns:
- distance mapped by object
-
radiusWithDistanceAsync
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. 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) inGeoUnit
units withGeoOrder
- Parameters:
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo- Returns:
- distance mapped by object
-
radiusWithDistanceAsync
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. 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) inGeoUnit
units withGeoOrder
and limited by count- Parameters:
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geocount
- - result limit- Returns:
- distance mapped by object
-
radiusWithPositionAsync
RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit)
Returns the geo-position mapped by member. 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) inGeoUnit
units.- Parameters:
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unit- Returns:
- geo position mapped by object
-
radiusWithPositionAsync
RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit, int count)
Returns the geo-position mapped by member. 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) inGeoUnit
units and limited by count- Parameters:
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limit- Returns:
- geo position mapped by object
-
radiusWithPositionAsync
RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
Returns the geo-position mapped by member. 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) inGeoUnit
units withGeoOrder
- Parameters:
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo order- Returns:
- geo position mapped by object
-
radiusWithPositionAsync
RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
Returns the geo-position mapped by member. 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) inGeoUnit
units withGeoOrder
and limited by count- Parameters:
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo ordercount
- - result limit- Returns:
- geo position mapped by object
-
radiusStoreToAsync
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) inGeoUnit
units. Store result todestName
.- Parameters:
destName
- - Geo object destinationlongitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unit- Returns:
- length of result
-
radiusStoreToAsync
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) inGeoUnit
units and limited by count Store result todestName
.- Parameters:
destName
- - Geo object destinationlongitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limit- Returns:
- length of result
-
radiusStoreToAsync
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) inGeoUnit
units withGeoOrder
and limited by count Store result todestName
.- Parameters:
destName
- - Geo object destinationlongitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of resultcount
- - result limit- Returns:
- length of result
-
radiusStoreToAsync
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) inGeoUnit
units. Store result todestName
.- Parameters:
destName
- - Geo object destinationmember
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unit- Returns:
- length of result
-
radiusStoreToAsync
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) inGeoUnit
units and limited by count Store result todestName
.- Parameters:
destName
- - Geo object destinationmember
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limit- Returns:
- length of result
-
radiusStoreToAsync
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) inGeoUnit
units withGeoOrder
Store result todestName
.- Parameters:
destName
- - Geo object destinationmember
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo ordercount
- - result limit- Returns:
- length of result
-
-