V - valuepublic class RedissonGeo<V> extends RedissonScoredSortedSet<V> implements RGeo<V>
RScoredSortedSet.Aggregatecodec, commandExecutor, name| Constructor and Description |
|---|
RedissonGeo(Codec codec,
CommandAsyncExecutor connectionManager,
String name,
RedissonClient redisson) |
RedissonGeo(CommandAsyncExecutor connectionManager,
String name,
RedissonClient redisson) |
| Modifier and Type | Method and Description |
|---|---|
long |
add(double longitude,
double latitude,
V member)
Adds geospatial member.
|
long |
add(GeoEntry... entries)
Adds geospatial members.
|
RFuture<Long> |
addAsync(double longitude,
double latitude,
V member)
Adds geospatial member.
|
RFuture<Long> |
addAsync(GeoEntry... entries)
Adds geospatial members.
|
boolean |
clearExpire()
Clear an expire timeout or expire date for object.
|
RFuture<Boolean> |
clearExpireAsync()
Clear an expire timeout or expire date for object in async mode.
|
protected RFuture<Boolean> |
clearExpireAsync(String... keys) |
Double |
dist(V firstMember,
V secondMember,
GeoUnit geoUnit)
Returns distance between members in
GeoUnit units. |
RFuture<Double> |
distAsync(V firstMember,
V secondMember,
GeoUnit geoUnit)
Returns distance between members in
GeoUnit units. |
boolean |
expire(long timeToLive,
TimeUnit timeUnit)
Set a timeout for object.
|
RFuture<Boolean> |
expireAsync(long timeToLive,
TimeUnit timeUnit)
Set a timeout for object in async mode.
|
protected RFuture<Boolean> |
expireAsync(long timeToLive,
TimeUnit timeUnit,
String... keys) |
boolean |
expireAt(Date timestamp)
Set an expire date for object.
|
boolean |
expireAt(long timestamp)
Set an expire date for object.
|
RFuture<Boolean> |
expireAtAsync(Date timestamp)
Set an expire date for object in async mode.
|
RFuture<Boolean> |
expireAtAsync(long timestamp)
Set an expire date for object in async mode.
|
protected RFuture<Boolean> |
expireAtAsync(long timestamp,
String... keys) |
Map<V,String> |
hash(V... members)
Returns 11 characters Geohash string mapped by defined member.
|
RFuture<Map<V,String>> |
hashAsync(V... members)
Returns 11 characters Geohash string mapped by defined member.
|
Map<V,GeoPosition> |
pos(V... members)
Returns geo-position mapped by defined member.
|
RFuture<Map<V,GeoPosition>> |
posAsync(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
Requires Redis 3.2.10 and higher. |
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
Requires Redis 3.2.10 and higher. |
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
Requires Redis 3.2.10 and higher. |
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
Requires Redis 3.2.10 and higher. |
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
Requires Redis 3.2.10 and higher. |
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
Requires Redis 3.2.10 and higher. |
RFuture<List<V>> |
radiusAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units. |
RFuture<List<V>> |
radiusAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher. |
RFuture<List<V>> |
radiusAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher. |
RFuture<List<V>> |
radiusAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Returns the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units and limited by count
Requires Redis 3.2.10 and higher. |
RFuture<List<V>> |
radiusAsync(V member,
double radius,
GeoUnit geoUnit)
Returns the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units. |
RFuture<List<V>> |
radiusAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher. |
RFuture<List<V>> |
radiusAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher. |
RFuture<List<V>> |
radiusAsync(V member,
double radius,
GeoUnit geoUnit,
int count)
Returns the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units and limited by count
Requires Redis 3.2.10 and higher. |
long |
radiusStoreSortedTo(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 |
radiusStoreSortedTo(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. |
long |
radiusStoreSortedTo(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. |
long |
radiusStoreSortedTo(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 |
radiusStoreSortedTo(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
Stores result to destName sorted by distance. |
long |
radiusStoreSortedTo(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. |
RFuture<Long> |
radiusStoreSortedToAsync(String destName,
double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Finds the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units. |
RFuture<Long> |
radiusStoreSortedToAsync(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. |
RFuture<Long> |
radiusStoreSortedToAsync(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
Stores result to destName sorted by distance. |
RFuture<Long> |
radiusStoreSortedToAsync(String destName,
V member,
double radius,
GeoUnit geoUnit)
Finds the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units. |
RFuture<Long> |
radiusStoreSortedToAsync(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
Stores result to destName sorted by distance. |
RFuture<Long> |
radiusStoreSortedToAsync(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. |
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
Stores 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
Stores 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
Stores 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
Stores result to destName. |
RFuture<Long> |
radiusStoreToAsync(String destName,
double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Finds the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units. |
RFuture<Long> |
radiusStoreToAsync(String destName,
double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Finds the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units with GeoOrder
and limited by count. |
RFuture<Long> |
radiusStoreToAsync(String destName,
double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Finds the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units and limited by count
Stores result to destName. |
RFuture<Long> |
radiusStoreToAsync(String destName,
V member,
double radius,
GeoUnit geoUnit)
Finds the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units. |
RFuture<Long> |
radiusStoreToAsync(String destName,
V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Finds the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units with GeoOrder
Stores result to destName. |
RFuture<Long> |
radiusStoreToAsync(String destName,
V member,
double radius,
GeoUnit geoUnit,
int count)
Finds the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units and limited by count. |
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.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the distance mapped by member, distance between member and the location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the distance mapped by member, distance between member and the location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Returns the distance mapped by member, distance between member and the location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(V member,
double radius,
GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the defined member location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the distance mapped by member, distance between member and the defined member location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the distance mapped by member, distance between member and the defined member location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(V member,
double radius,
GeoUnit geoUnit,
int count)
Returns the distance mapped by member, distance between member and the defined member location.
|
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.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(V member,
double radius,
GeoUnit geoUnit)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(V member,
double radius,
GeoUnit geoUnit,
int count)
Returns the geo-position mapped by member.
|
long |
remainTimeToLive()
Remaining time to live of Redisson object that has a timeout
|
RFuture<Long> |
remainTimeToLiveAsync()
Remaining time to live of Redisson object that has a timeout
|
add, addAll, addAllAsync, addAndGetRank, addAndGetRankAsync, addAndGetRevRank, addAndGetRevRank, addAndGetRevRankAsync, addAndGetRevRankAsync, addAsync, addScore, addScoreAndGetRank, addScoreAndGetRankAsync, addScoreAndGetRevRank, addScoreAndGetRevRankAsync, addScoreAsync, clear, contains, containsAll, containsAllAsync, containsAsync, count, countAsync, entryRange, entryRange, entryRange, entryRangeAsync, entryRangeAsync, entryRangeAsync, entryRangeReversed, entryRangeReversed, entryRangeReversed, entryRangeReversedAsync, entryRangeReversedAsync, entryRangeReversedAsync, first, firstAsync, firstScore, firstScoreAsync, getScore, getScore, getScoreAsync, getScoreAsync, intersection, intersection, intersection, intersection, intersectionAsync, intersectionAsync, intersectionAsync, intersectionAsync, isEmpty, iterator, iterator, iterator, iterator, last, lastAsync, lastScore, lastScoreAsync, mapReduce, pollFirst, pollFirst, pollFirst, pollFirstAsync, pollFirstAsync, pollFirstAsync, pollFirstFromAny, pollFirstFromAnyAsync, pollLast, pollLast, pollLast, pollLastAsync, pollLastAsync, pollLastAsync, pollLastFromAny, pollLastFromAnyAsync, rank, rankAsync, readAll, readAllAsync, readSort, readSort, readSort, readSort, readSort, readSort, readSortAlpha, readSortAlpha, readSortAlpha, readSortAlpha, readSortAlpha, readSortAlpha, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, remove, removeAll, removeAllAsync, removeAsync, removeRangeByRank, removeRangeByRankAsync, removeRangeByScore, removeRangeByScoreAsync, retainAll, retainAllAsync, revRank, revRank, revRankAsync, revRankAsync, scanIteratorAsync, size, sizeAsync, sortTo, sortTo, sortTo, sortTo, sortTo, sortTo, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, stream, stream, stream, stream, subscribeOnFirstElements, subscribeOnLastElements, takeFirst, takeFirstAsync, takeLast, takeLastAsync, toArray, toArray, tryAdd, tryAddAsync, union, union, union, union, unionAsync, unionAsync, unionAsync, unionAsync, unsubscribe, valueRange, valueRange, valueRange, valueRangeAsync, valueRangeAsync, valueRangeAsync, valueRangeReversed, valueRangeReversed, valueRangeReversed, valueRangeReversedAsync, valueRangeReversedAsync, valueRangeReversedAsyncaddListener, addListener, addListenerAsync, addListenerAsync, copy, copyAsync, delete, deleteAsync, deleteAsync, dump, dumpAsync, encode, encode, encode, encode, encodeMapKey, encodeMapKeys, encodeMapValue, encodeMapValues, get, getCodec, getIdleTime, getIdleTimeAsync, getLockByMapKey, getLockByValue, getName, getName, isExists, isExistsAsync, migrate, migrateAsync, move, moveAsync, prefixName, removeListener, removeListenerAsync, removeListenersAsync, rename, renameAsync, renamenx, renamenxAsync, restore, restore, restoreAndReplace, restoreAndReplace, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemory, sizeInMemoryAsync, sizeInMemoryAsync, sizeInMemoryAsync, suffixName, toSeconds, toStream, touch, touchAsync, unlink, unlinkAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, addAll, addAndGetRank, addAndGetRevRank, addAndGetRevRank, addScore, addScoreAndGetRank, addScoreAndGetRevRank, clear, contains, containsAll, count, entryRange, entryRange, entryRange, entryRangeReversed, entryRangeReversed, entryRangeReversed, first, firstScore, getScore, 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, revRank, size, stream, stream, stream, stream, subscribeOnFirstElements, subscribeOnLastElements, takeFirst, takeLast, toArray, toArray, tryAdd, union, union, union, union, unsubscribe, valueRange, valueRange, valueRange, valueRangeReversed, valueRangeReversed, valueRangeReversedforEach, iterator, spliteratorclearExpire, expire, expireAt, expireAt, remainTimeToLiveaddListener, copy, delete, dump, getCodec, getIdleTime, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlinkreadSort, readSort, readSort, readSort, readSort, readSort, readSortAlpha, readSortAlpha, readSortAlpha, readSortAlpha, readSortAlpha, readSortAlpha, sortTo, sortTo, sortTo, sortTo, sortTo, sortToaddAllAsync, addAndGetRankAsync, addAndGetRevRankAsync, addAndGetRevRankAsync, addAsync, addScoreAndGetRankAsync, addScoreAndGetRevRankAsync, addScoreAsync, containsAllAsync, containsAsync, countAsync, entryRangeAsync, entryRangeAsync, entryRangeAsync, entryRangeReversedAsync, entryRangeReversedAsync, entryRangeReversedAsync, firstAsync, firstScoreAsync, getScoreAsync, getScoreAsync, intersectionAsync, intersectionAsync, intersectionAsync, intersectionAsync, lastAsync, lastScoreAsync, pollFirstAsync, pollFirstAsync, pollFirstAsync, pollFirstFromAnyAsync, pollLastAsync, pollLastAsync, pollLastAsync, pollLastFromAnyAsync, rankAsync, readAllAsync, removeAllAsync, removeAsync, removeRangeByRankAsync, removeRangeByScoreAsync, retainAllAsync, revRankAsync, revRankAsync, sizeAsync, takeFirstAsync, takeLastAsync, tryAddAsync, unionAsync, unionAsync, unionAsync, unionAsync, valueRangeAsync, valueRangeAsync, valueRangeAsync, valueRangeReversedAsync, valueRangeReversedAsync, valueRangeReversedAsyncclearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsyncaddListenerAsync, copyAsync, deleteAsync, dumpAsync, getIdleTimeAsync, isExistsAsync, migrateAsync, moveAsync, removeListenerAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsyncreadSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAlphaAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsyncpublic RedissonGeo(CommandAsyncExecutor connectionManager, String name, RedissonClient redisson)
public RedissonGeo(Codec codec, CommandAsyncExecutor connectionManager, String name, RedissonClient redisson)
public RFuture<Long> addAsync(double longitude, double latitude, V member)
RGeoAsyncpublic long add(double longitude,
double latitude,
V member)
RGeopublic long add(GeoEntry... entries)
RGeopublic RFuture<Long> addAsync(GeoEntry... entries)
RGeoAsyncpublic Double dist(V firstMember, V secondMember, GeoUnit geoUnit)
RGeoGeoUnit units.public RFuture<Double> distAsync(V firstMember, V secondMember, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.public Map<V,String> hash(V... members)
RGeopublic RFuture<Map<V,String>> hashAsync(V... members)
RGeoAsyncpublic Map<V,GeoPosition> pos(V... members)
RGeopublic RFuture<Map<V,GeoPosition>> posAsync(V... members)
RGeoAsyncpublic List<V> radius(double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.
Requires Redis 3.2.10 and higher.
public RFuture<List<V>> radiusAsync(double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.
Requires Redis 3.2.10 and higher.
radiusAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic List<V> radius(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by count
Requires Redis 3.2.10 and higher.
public RFuture<List<V>> radiusAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by count
Requires Redis 3.2.10 and higher.
radiusAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic List<V> radius(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoGeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher.
public RFuture<List<V>> radiusAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoAsyncGeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher.
radiusAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultpublic List<V> radius(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
public RFuture<List<V>> radiusAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
radiusAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultcount - - result limitpublic Map<V,Double> radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.
Requires Redis 3.2.10 and higher.
radiusWithDistance in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.
Requires Redis 3.2.10 and higher.
radiusWithDistanceAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic Map<V,Double> radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by count.
Requires Redis 3.2.10 and higher.
radiusWithDistance in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by count.
Requires Redis 3.2.10 and higher.
radiusWithDistanceAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic Map<V,Double> radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoGeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher.
radiusWithDistance in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoAsyncGeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher.
radiusWithDistanceAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultpublic Map<V,Double> radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
radiusWithDistance in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultcount - - result limitpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
radiusWithDistanceAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultcount - - result limitpublic Map<V,GeoPosition> radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.
Requires Redis 3.2.10 and higher.
radiusWithPosition in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.
Requires Redis 3.2.10 and higher.
radiusWithPositionAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic Map<V,GeoPosition> radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by count
Requires Redis 3.2.10 and higher.
radiusWithPosition in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by count
Requires Redis 3.2.10 and higher.
radiusWithPositionAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic Map<V,GeoPosition> radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoGeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher.
radiusWithPosition in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo orderpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoAsyncGeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher.
radiusWithPositionAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo orderpublic Map<V,GeoPosition> radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
radiusWithPosition in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
radiusWithPositionAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic List<V> radius(V member, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.
Requires Redis 3.2.10 and higher.
public RFuture<List<V>> radiusAsync(V member, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.
Requires Redis 3.2.10 and higher.
radiusAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic List<V> radius(V member, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by count
Requires Redis 3.2.10 and higher.
public RFuture<List<V>> radiusAsync(V member, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by count
Requires Redis 3.2.10 and higher.
radiusAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic List<V> radius(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoGeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher.
public RFuture<List<V>> radiusAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoAsyncGeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher.
radiusAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo orderpublic List<V> radius(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
public RFuture<List<V>> radiusAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher.
radiusAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic Map<V,Double> radiusWithDistance(V member, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.
Requires Redis 3.2.10 and higher.
radiusWithDistance in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(V member, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.
Requires Redis 3.2.10 and higher.
radiusWithDistanceAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic Map<V,Double> radiusWithDistance(V member, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by count
Requires Redis 3.2.10 and higher.
radiusWithDistance in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(V member, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by count
Requires Redis 3.2.10 and higher.
radiusWithDistanceAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic Map<V,Double> radiusWithDistance(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoGeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher.
radiusWithDistance in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo orderpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoAsyncGeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher.
radiusWithDistanceAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geopublic Map<V,Double> radiusWithDistance(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
radiusWithDistance in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
radiusWithDistanceAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geocount - - result limitpublic Map<V,GeoPosition> radiusWithPosition(V member, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.
Requires Redis 3.2.10 and higher.
radiusWithPosition in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.
Requires Redis 3.2.10 and higher.
radiusWithPositionAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic Map<V,GeoPosition> radiusWithPosition(V member, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by count
Requires Redis 3.2.10 and higher.
radiusWithPosition in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by count
Requires Redis 3.2.10 and higher.
radiusWithPositionAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic Map<V,GeoPosition> radiusWithPosition(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoGeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher.
radiusWithPosition in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo orderpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoAsyncGeoUnit units with GeoOrder
Requires Redis 3.2.10 and higher.
radiusWithPositionAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo orderpublic Map<V,GeoPosition> radiusWithPosition(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
radiusWithPosition in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
and limited by count
Requires Redis 3.2.10 and higher.
radiusWithPositionAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic long radiusStoreTo(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.
Stores result to destName.
radiusStoreTo in interface RGeo<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Long> radiusStoreToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.
Stores result to destName.
radiusStoreToAsync in interface RGeoAsync<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic long radiusStoreTo(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by count
Stores result to destName.
radiusStoreTo in interface RGeo<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Long> radiusStoreToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by count
Stores result to destName.
radiusStoreToAsync in interface RGeoAsync<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic long radiusStoreTo(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by count
Stores result to destName.
radiusStoreTo in interface RGeo<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultcount - - result limitpublic RFuture<Long> radiusStoreToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
and limited by count.
Stores result to destName.
radiusStoreToAsync in interface RGeoAsync<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultcount - - result limitpublic long radiusStoreTo(String destName, V member, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.
Stores result to destName.
radiusStoreTo in interface RGeo<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Long> radiusStoreToAsync(String destName, V member, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.
Stores result to destName.
radiusStoreToAsync in interface RGeoAsync<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic long radiusStoreTo(String destName, V member, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by count
Stores result to destName.
radiusStoreTo in interface RGeo<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Long> radiusStoreToAsync(String destName, V member, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by count.
Stores result to destName.
radiusStoreToAsync in interface RGeoAsync<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic long radiusStoreTo(String destName, V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
Stores result to destName.
radiusStoreTo in interface RGeo<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic RFuture<Long> radiusStoreToAsync(String destName, V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
Stores result to destName.
radiusStoreToAsync in interface RGeoAsync<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic RFuture<Long> radiusStoreSortedToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.
Stores result to destName sorted by distance.
radiusStoreSortedToAsync in interface RGeoAsync<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Long> radiusStoreSortedToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by count
Stores result to destName sorted by distance.
radiusStoreSortedToAsync in interface RGeoAsync<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Long> radiusStoreSortedToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
and limited by count.
Stores result to destName sorted by distance.
radiusStoreSortedToAsync in interface RGeoAsync<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultcount - - result limitpublic RFuture<Long> radiusStoreSortedToAsync(String destName, V member, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.
Stores result to destName sorted by distance.
radiusStoreSortedToAsync in interface RGeoAsync<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Long> radiusStoreSortedToAsync(String destName, V member, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by count.
Stores result to destName sorted by distance.
radiusStoreSortedToAsync in interface RGeoAsync<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Long> radiusStoreSortedToAsync(String destName, V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
Stores result to destName sorted by distance.
radiusStoreSortedToAsync in interface RGeoAsync<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic long radiusStoreSortedTo(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.
Stores result to destName sorted by distance.
radiusStoreSortedTo in interface RGeo<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic long radiusStoreSortedTo(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by count.
Stores result to destName sorted by distance.
radiusStoreSortedTo in interface RGeo<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic long radiusStoreSortedTo(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by count.
Stores result to destName sorted by distance.
radiusStoreSortedTo in interface RGeo<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultcount - - result limitpublic long radiusStoreSortedTo(String destName, V member, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.
Stores result to destName sorted by distance.
radiusStoreSortedTo in interface RGeo<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic long radiusStoreSortedTo(String destName, V member, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by count.
Stores result to destName sorted by distance.
radiusStoreSortedTo in interface RGeo<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic long radiusStoreSortedTo(String destName, V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
Stores result to destName sorted by distance.
radiusStoreSortedTo in interface RGeo<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic boolean expire(long timeToLive,
TimeUnit timeUnit)
RExpirableexpire in interface RExpirabletimeToLive - - timeout before object will be deletedtimeUnit - - timeout time unittrue if the timeout was set and false if notpublic RFuture<Boolean> expireAsync(long timeToLive, TimeUnit timeUnit)
RExpirableAsyncexpireAsync in interface RExpirableAsynctimeToLive - - timeout before object will be deletedtimeUnit - - timeout time unittrue if the timeout was set and false if notpublic boolean expireAt(long timestamp)
RExpirableexpireAt in interface RExpirabletimestamp - - expire date in milliseconds (Unix timestamp)true if the timeout was set and false if notpublic RFuture<Boolean> expireAtAsync(long timestamp)
RExpirableAsyncexpireAtAsync in interface RExpirableAsynctimestamp - - expire date in milliseconds (Unix timestamp)true if the timeout was set and false if notpublic boolean expireAt(Date timestamp)
RExpirableexpireAt in interface RExpirabletimestamp - - expire datetrue if the timeout was set and false if notpublic RFuture<Boolean> expireAtAsync(Date timestamp)
RExpirableAsyncexpireAtAsync in interface RExpirableAsynctimestamp - - expire datetrue if the timeout was set and false if notpublic boolean clearExpire()
RExpirableclearExpire in interface RExpirabletrue if timeout was removed
false if object does not exist or does not have an associated timeoutpublic RFuture<Boolean> clearExpireAsync()
RExpirableAsyncclearExpireAsync in interface RExpirableAsynctrue if the timeout was cleared and false if notpublic long remainTimeToLive()
RExpirableremainTimeToLive in interface RExpirablepublic RFuture<Long> remainTimeToLiveAsync()
RExpirableAsyncremainTimeToLiveAsync in interface RExpirableAsyncprotected RFuture<Boolean> expireAsync(long timeToLive, TimeUnit timeUnit, String... keys)
Copyright © 2014–2020 Redisson. All rights reserved.