V
- type of valuepublic interface RGeo<V> extends RScoredSortedSet<V>, RGeoAsync<V>
RScoredSortedSet.Aggregate
Modifier and Type | Method and Description |
---|---|
long |
add(double longitude,
double latitude,
V member)
Adds geospatial member.
|
long |
add(GeoEntry... entries)
Adds geospatial members.
|
Double |
dist(V firstMember,
V secondMember,
GeoUnit geoUnit)
Returns distance between members in
GeoUnit units. |
Map<V,String> |
hash(V... members)
Returns 11 characters Geohash string mapped by defined member.
|
Map<V,GeoPosition> |
pos(V... members)
Returns geo-position mapped by defined member.
|
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. |
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 |
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 |
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 |
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. |
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 |
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
and limited by count |
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 |
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. |
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 . |
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 . |
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. |
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 . |
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 . |
Map<V,Double> |
radiusWithDistance(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the location.
|
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.
|
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.
|
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.
|
Map<V,Double> |
radiusWithDistance(V member,
double radius,
GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the defined member location.
|
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.
|
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.
|
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.
|
Map<V,GeoPosition> |
radiusWithPosition(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(V member,
double radius,
GeoUnit geoUnit)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(V member,
double radius,
GeoUnit geoUnit,
int count)
Returns the geo-position mapped by member.
|
add, addAll, addAndGetRank, addAndGetRevRank, addScore, addScoreAndGetRank, addScoreAndGetRevRank, clear, contains, containsAll, count, entryRange, entryRange, entryRange, entryRangeReversed, entryRangeReversed, entryRangeReversed, first, firstScore, getScore, intersection, intersection, intersection, intersection, isEmpty, iterator, iterator, iterator, last, lastScore, mapReduce, pollFirst, pollFirst, pollFirst, pollFirstFromAny, pollLast, pollLast, pollLast, pollLastFromAny, rank, readAll, remove, removeAll, removeRangeByRank, removeRangeByScore, retainAll, revRank, size, toArray, toArray, tryAdd, union, union, union, union, valueRange, valueRange, valueRange, valueRangeReversed, valueRangeReversed, valueRangeReversed
forEach, iterator, spliterator
clearExpire, expire, expireAt, expireAt, remainTimeToLive
copy, delete, getCodec, getName, isExists, migrate, move, rename, renamenx, touch, unlink
readSort, readSort, readSort, readSort, readSort, readSort, sortTo, sortTo, sortTo, sortTo, sortTo, sortTo
addAsync, addAsync, distAsync, hashAsync, posAsync, radiusAsync, radiusAsync, radiusAsync, radiusAsync, radiusAsync, radiusAsync, radiusAsync, radiusAsync, radiusStoreToAsync, radiusStoreToAsync, radiusStoreToAsync, radiusStoreToAsync, radiusStoreToAsync, radiusStoreToAsync, radiusWithDistanceAsync, radiusWithDistanceAsync, radiusWithDistanceAsync, radiusWithDistanceAsync, radiusWithDistanceAsync, radiusWithDistanceAsync, radiusWithDistanceAsync, radiusWithDistanceAsync, radiusWithPositionAsync, radiusWithPositionAsync, radiusWithPositionAsync, radiusWithPositionAsync, radiusWithPositionAsync, radiusWithPositionAsync, radiusWithPositionAsync, radiusWithPositionAsync
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
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
copyAsync, deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, touchAsync, unlinkAsync
readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync
long add(double longitude, double latitude, V member)
longitude
- - longitude of objectlatitude
- - latitude of objectmember
- - object itselflong add(GeoEntry... entries)
entries
- - objectsDouble dist(V firstMember, V secondMember, GeoUnit geoUnit)
GeoUnit
units.firstMember
- - first objectsecondMember
- - second objectgeoUnit
- - geo unitMap<V,String> hash(V... members)
members
- - objectsMap<V,GeoPosition> pos(V... members)
members
- - objectsList<V> radius(double longitude, double latitude, double radius, GeoUnit geoUnit)
GeoUnit
units.longitude
- - longitude of objectlatitude
- - latitude of objectradius
- - radius in geo unitsgeoUnit
- - geo unitList<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 limitList<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 resultList<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 limitMap<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 unitMap<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 limitMap<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 resultMap<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 limitMap<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 unitMap<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 limitMap<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 orderMap<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 limitList<V> radius(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitList<V> radius(V member, double radius, GeoUnit geoUnit, int count)
GeoUnit
units and limited by countmember
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitcount
- - result limitList<V> radius(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo orderList<V> radius(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 limitMap<V,Double> radiusWithDistance(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitMap<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 limitMap<V,Double> radiusWithDistance(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo orderMap<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
- - geo ordercount
- - result limitMap<V,GeoPosition> radiusWithPosition(V member, double radius, GeoUnit geoUnit)
GeoUnit
units.member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitMap<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 limitMap<V,GeoPosition> radiusWithPosition(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
GeoUnit
units with GeoOrder
member
- - objectradius
- - radius in geo unitsgeoUnit
- - geo unitgeoOrder
- - geo orderMap<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 limitlong 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 unitlong 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 limitlong 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 limitlong 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 unitlong 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 limitlong 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.