Package org.redisson.api
Interface RGeoReactive<V>
-
- Type Parameters:
V
- type of value
- All Superinterfaces:
RExpirableReactive
,RObjectReactive
,RScoredSortedSetReactive<V>
,RSortableReactive<Set<V>>
public interface RGeoReactive<V> extends RScoredSortedSetReactive<V>
Geospatial items holder. Reactive interface.- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<Long>
add(double longitude, double latitude, V member)
Adds geospatial member.org.reactivestreams.Publisher<Long>
add(GeoEntry... entries)
Adds geospatial members.org.reactivestreams.Publisher<Double>
dist(V firstMember, V secondMember, GeoUnit geoUnit)
Returns distance between members inGeoUnit
units.org.reactivestreams.Publisher<Map<V,String>>
hash(V... members)
Returns 11 characters Geohash string mapped by defined member.org.reactivestreams.Publisher<Map<V,GeoPosition>>
pos(V... members)
Returns geo-position mapped by defined member.org.reactivestreams.Publisher<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) inGeoUnit
units.org.reactivestreams.Publisher<List<V>>
radius(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 countorg.reactivestreams.Publisher<List<V>>
radius(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
org.reactivestreams.Publisher<List<V>>
radius(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 countorg.reactivestreams.Publisher<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) inGeoUnit
units.org.reactivestreams.Publisher<List<V>>
radius(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 countorg.reactivestreams.Publisher<List<V>>
radius(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
org.reactivestreams.Publisher<List<V>>
radius(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
org.reactivestreams.Publisher<Long>
radiusStoreTo(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.org.reactivestreams.Publisher<Long>
radiusStoreTo(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
.org.reactivestreams.Publisher<Long>
radiusStoreTo(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
.org.reactivestreams.Publisher<Long>
radiusStoreTo(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.org.reactivestreams.Publisher<Long>
radiusStoreTo(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
.org.reactivestreams.Publisher<Long>
radiusStoreTo(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
.org.reactivestreams.Publisher<Map<V,Double>>
radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the location.org.reactivestreams.Publisher<Map<V,Double>>
radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
Returns the distance mapped by member, distance between member and the location.org.reactivestreams.Publisher<Map<V,Double>>
radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
Returns the distance mapped by member, distance between member and the location.org.reactivestreams.Publisher<Map<V,Double>>
radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
Returns the distance mapped by member, distance between member and the location.org.reactivestreams.Publisher<Map<V,Double>>
radiusWithDistance(V member, double radius, GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the defined member location.org.reactivestreams.Publisher<Map<V,Double>>
radiusWithDistance(V member, double radius, GeoUnit geoUnit, int count)
Returns the distance mapped by member, distance between member and the defined member location.org.reactivestreams.Publisher<Map<V,Double>>
radiusWithDistance(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
Returns the distance mapped by member, distance between member and the defined member location.org.reactivestreams.Publisher<Map<V,Double>>
radiusWithDistance(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
Returns the distance mapped by member, distance between member and the defined member location.org.reactivestreams.Publisher<Map<V,GeoPosition>>
radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit)
Returns the geo-position mapped by member.org.reactivestreams.Publisher<Map<V,GeoPosition>>
radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
Returns the geo-position mapped by member.org.reactivestreams.Publisher<Map<V,GeoPosition>>
radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
Returns the geo-position mapped by member.org.reactivestreams.Publisher<Map<V,GeoPosition>>
radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
Returns the geo-position mapped by member.org.reactivestreams.Publisher<Map<V,GeoPosition>>
radiusWithPosition(V member, double radius, GeoUnit geoUnit)
Returns the geo-position mapped by member.org.reactivestreams.Publisher<Map<V,GeoPosition>>
radiusWithPosition(V member, double radius, GeoUnit geoUnit, int count)
Returns the geo-position mapped by member.org.reactivestreams.Publisher<Map<V,GeoPosition>>
radiusWithPosition(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
Returns the geo-position mapped by member.org.reactivestreams.Publisher<Map<V,GeoPosition>>
radiusWithPosition(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
Returns the geo-position mapped by member.-
Methods inherited from interface org.redisson.api.RExpirableReactive
clearExpire, expire, expireAt, expireAt, remainTimeToLive
-
Methods inherited from interface org.redisson.api.RObjectReactive
copy, delete, dump, getCodec, getName, isExists, migrate, move, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, touch, unlink
-
Methods inherited from interface org.redisson.api.RScoredSortedSetReactive
add, addAll, addAndGetRank, addAndGetRevRank, addScore, addScoreAndGetRank, addScoreAndGetRevRank, contains, containsAll, count, entryRange, entryRange, entryRange, entryRangeReversed, entryRangeReversed, entryRangeReversed, first, firstScore, getScore, intersection, intersection, intersection, intersection, iterator, iterator, iterator, iterator, last, lastScore, pollFirst, pollFirst, pollFirst, pollFirstFromAny, pollLast, pollLast, pollLast, pollLastFromAny, rank, readAll, remove, removeAll, removeRangeByRank, removeRangeByScore, retainAll, revRank, size, takeFirst, takeLast, tryAdd, union, union, union, union, valueRange, valueRange, valueRange, valueRangeReversed, valueRangeReversed, valueRangeReversed
-
Methods inherited from interface org.redisson.api.RSortableReactive
readSorted, readSorted, readSorted, readSorted, readSorted, readSorted, sortTo, sortTo, sortTo, sortTo, sortTo, sortTo
-
-
-
-
Method Detail
-
add
org.reactivestreams.Publisher<Long> add(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
-
add
org.reactivestreams.Publisher<Long> add(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
-
dist
org.reactivestreams.Publisher<Double> dist(V firstMember, V secondMember, GeoUnit geoUnit)
Returns distance between members inGeoUnit
units.- Parameters:
firstMember
- - first objectsecondMember
- - second objectgeoUnit
- - geo unit- Returns:
- distance
-
hash
org.reactivestreams.Publisher<Map<V,String>> hash(V... members)
Returns 11 characters Geohash string mapped by defined member.- Parameters:
members
- - objects- Returns:
- hash mapped by object
-
pos
org.reactivestreams.Publisher<Map<V,GeoPosition>> pos(V... members)
Returns geo-position mapped by defined member.- Parameters:
members
- - objects- Returns:
- geo position mapped by object
-
radius
org.reactivestreams.Publisher<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) inGeoUnit
units.- Parameters:
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unit- Returns:
- list of objects
-
radius
org.reactivestreams.Publisher<List<V>> radius(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
-
radius
org.reactivestreams.Publisher<List<V>> radius(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
-
radius
org.reactivestreams.Publisher<List<V>> radius(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
-
radiusWithDistance
org.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(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
-
radiusWithDistance
org.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(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
-
radiusWithDistance
org.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(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
-
radiusWithDistance
org.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(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
-
radiusWithPosition
org.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(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
-
radiusWithPosition
org.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(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
-
radiusWithPosition
org.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(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
-
radiusWithPosition
org.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(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
-
radius
org.reactivestreams.Publisher<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) inGeoUnit
units.- Parameters:
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unit- Returns:
- list of objects
-
radius
org.reactivestreams.Publisher<List<V>> radius(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
-
radius
org.reactivestreams.Publisher<List<V>> radius(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
-
radius
org.reactivestreams.Publisher<List<V>> radius(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
-
radiusWithDistance
org.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(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
-
radiusWithDistance
org.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(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
-
radiusWithDistance
org.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(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
-
radiusWithDistance
org.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(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
-
radiusWithPosition
org.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(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
-
radiusWithPosition
org.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(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
-
radiusWithPosition
org.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(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
-
radiusWithPosition
org.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(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
-
radiusStoreTo
org.reactivestreams.Publisher<Long> radiusStoreTo(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
-
radiusStoreTo
org.reactivestreams.Publisher<Long> radiusStoreTo(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
-
radiusStoreTo
org.reactivestreams.Publisher<Long> radiusStoreTo(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
-
radiusStoreTo
org.reactivestreams.Publisher<Long> radiusStoreTo(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
-
radiusStoreTo
org.reactivestreams.Publisher<Long> radiusStoreTo(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
-
radiusStoreTo
org.reactivestreams.Publisher<Long> radiusStoreTo(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
-
-