V
- type of valueRExpirableReactive
, RObjectReactive
, RScoredSortedSetReactive<V>
, RSortableReactive<Set<V>>
RedissonGeoReactive
public interface RGeoReactive<V> extends RScoredSortedSetReactive<V>
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 in
GeoUnit 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)
in
GeoUnit 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)
in
GeoUnit units and limited by count |
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)
in
GeoUnit units with GeoOrder |
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)
in
GeoUnit units with GeoOrder
and limited by count |
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)
in
GeoUnit 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)
in
GeoUnit units and limited by count |
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)
in
GeoUnit units with GeoOrder |
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)
in
GeoUnit units with GeoOrder |
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)
in
GeoUnit 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)
in
GeoUnit units and limited by count
Store result to destName . |
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)
in
GeoUnit units with GeoOrder
and limited by count
Store result to destName . |
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)
in
GeoUnit 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)
in
GeoUnit units and limited by count
Store result to destName . |
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)
in
GeoUnit units with GeoOrder
Store result to destName . |
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.
|
clearExpire, expire, expireAt, expireAt, remainTimeToLive
copy, delete, dump, getCodec, getName, isExists, migrate, move, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, touch, unlink
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, tryAdd, union, union, union, union, valueRange, valueRange, valueRange, valueRangeReversed, valueRangeReversed, valueRangeReversed
readSorted, readSorted, readSorted, readSorted, readSorted, readSorted, sortTo, sortTo, sortTo, sortTo, sortTo, sortTo
org.reactivestreams.Publisher<Long> add(double longitude, double latitude, V member)
longitude
- - longitude of objectlatitude
- - latitude of objectmember
- - object itselforg.reactivestreams.Publisher<Long> add(GeoEntry... entries)
entries
- - objectsorg.reactivestreams.Publisher<Double> dist(V firstMember, V secondMember, GeoUnit geoUnit)
GeoUnit
units.firstMember
- - first objectsecondMember
- - second objectgeoUnit
- - geo unitorg.reactivestreams.Publisher<Map<V,String>> hash(V... members)
members
- - objectsorg.reactivestreams.Publisher<Map<V,GeoPosition>> pos(V... members)
members
- - objectsorg.reactivestreams.Publisher<List<V>> radius(double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitorg.reactivestreams.Publisher<List<V>> radius(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by countlongitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitorg.reactivestreams.Publisher<List<V>> radius(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of resultorg.reactivestreams.Publisher<List<V>> radius(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
and limited by countlongitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of resultcount
- - result limitorg.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitorg.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by count.longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitorg.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of resultorg.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
and limited by countlongitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - order of resultcount
- - result limitorg.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitorg.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by countlongitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitorg.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo orderorg.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
and limited by countlongitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo ordercount
- - result limitorg.reactivestreams.Publisher<List<V>> radius(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitorg.reactivestreams.Publisher<List<V>> radius(V member, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by countmember
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitorg.reactivestreams.Publisher<List<V>> radius(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo orderorg.reactivestreams.Publisher<List<V>> radius(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo ordercount
- - result limitorg.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitorg.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(V member, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by countmember
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitorg.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geoorg.reactivestreams.Publisher<Map<V,Double>> radiusWithDistance(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
and limited by countmember
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geocount
- - result limitorg.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitorg.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(V member, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by countmember
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitorg.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo orderorg.reactivestreams.Publisher<Map<V,GeoPosition>> radiusWithPosition(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
GeoUnit
units with GeoOrder
and limited by countmember
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo ordercount
- - result limitorg.reactivestreams.Publisher<Long> radiusStoreTo(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 unitorg.reactivestreams.Publisher<Long> radiusStoreTo(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 limitorg.reactivestreams.Publisher<Long> radiusStoreTo(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 limitorg.reactivestreams.Publisher<Long> radiusStoreTo(String destName, V member, double radius, GeoUnit geoUnit)
GeoUnit
units.
Store result to destName
.destName
- - Geo object destinationmember
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitorg.reactivestreams.Publisher<Long> radiusStoreTo(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 limitorg.reactivestreams.Publisher<Long> radiusStoreTo(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–2018 The Redisson Project. All rights reserved.