public interface ReactiveGeoOperations<K,M>
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Long> |
add(K key,
Iterable<RedisGeoCommands.GeoLocation<M>> locations)
Add
RedisGeoCommands.GeoLocations to key |
reactor.core.publisher.Mono<Long> |
add(K key,
Map<M,Point> memberCoordinateMap)
|
reactor.core.publisher.Mono<Long> |
add(K key,
Point point,
M member)
Add
Point with given member name to key. |
reactor.core.publisher.Flux<Long> |
add(K key,
org.reactivestreams.Publisher<? extends Collection<RedisGeoCommands.GeoLocation<M>>> locations)
Add
RedisGeoCommands.GeoLocations to key |
reactor.core.publisher.Mono<Long> |
add(K key,
RedisGeoCommands.GeoLocation<M> location)
Add
RedisGeoCommands.GeoLocation to key. |
reactor.core.publisher.Mono<Boolean> |
delete(K key)
Removes the given key.
|
reactor.core.publisher.Mono<Distance> |
distance(K key,
M member1,
M member2)
Get the
Distance between member1 and member2. |
reactor.core.publisher.Mono<Distance> |
distance(K key,
M member1,
M member2,
Metric metric)
|
reactor.core.publisher.Mono<List<String>> |
hash(K key,
M... members)
Get Geohash representation of the position for one or more members.
|
reactor.core.publisher.Mono<String> |
hash(K key,
M member)
Get Geohash representation of the position for one or more members.
|
reactor.core.publisher.Mono<List<Point>> |
position(K key,
M... members)
Get the
Point representation of positions for one or more members. |
reactor.core.publisher.Mono<Point> |
position(K key,
M member)
Get the
Point representation of positions for one or more members. |
reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<M>>> |
radius(K key,
Circle within)
Get the members within the boundaries of a given
Circle. |
reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<M>>> |
radius(K key,
Circle within,
RedisGeoCommands.GeoRadiusCommandArgs args)
Get the members within the boundaries of a given
Circle applying RedisGeoCommands.GeoRadiusCommandArgs. |
reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<M>>> |
radius(K key,
M member,
Distance distance)
Get the members within the circle defined by the members coordinates and given
radius applying
Metric. |
reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<M>>> |
radius(K key,
M member,
Distance distance,
RedisGeoCommands.GeoRadiusCommandArgs args)
Get the members within the circle defined by the members coordinates and given
radius applying
Metric and RedisGeoCommands.GeoRadiusCommandArgs. |
reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<M>>> |
radius(K key,
M member,
double radius)
Get the members within the circle defined by the members coordinates and given
radius.
|
reactor.core.publisher.Mono<Long> |
remove(K key,
M... members)
Remove the members.
|
reactor.core.publisher.Mono<Long> add(K key, Point point, M member)
Point with given member name to key.key - must not be null.point - must not be null.member - must not be null.reactor.core.publisher.Mono<Long> add(K key, RedisGeoCommands.GeoLocation<M> location)
RedisGeoCommands.GeoLocation to key.key - must not be null.location - must not be null.reactor.core.publisher.Mono<Long> add(K key, Map<M,Point> memberCoordinateMap)
key - must not be null.memberCoordinateMap - must not be null.reactor.core.publisher.Mono<Long> add(K key, Iterable<RedisGeoCommands.GeoLocation<M>> locations)
RedisGeoCommands.GeoLocations to keykey - must not be null.locations - must not be null.reactor.core.publisher.Flux<Long> add(K key, org.reactivestreams.Publisher<? extends Collection<RedisGeoCommands.GeoLocation<M>>> locations)
RedisGeoCommands.GeoLocations to keykey - must not be null.locations - must not be null.reactor.core.publisher.Mono<Distance> distance(K key, M member1, M member2)
Distance between member1 and member2.key - must not be null.member1 - must not be null.member2 - must not be null.reactor.core.publisher.Mono<Distance> distance(K key, M member1, M member2, Metric metric)
key - must not be null.member1 - must not be null.member2 - must not be null.metric - must not be null.reactor.core.publisher.Mono<String> hash(K key, M member)
key - must not be null.member - must not be null.reactor.core.publisher.Mono<List<String>> hash(K key, M... members)
key - must not be null.members - must not be null.reactor.core.publisher.Mono<Point> position(K key, M member)
Point representation of positions for one or more members.key - must not be null.member - must not be null.reactor.core.publisher.Mono<List<Point>> position(K key, M... members)
Point representation of positions for one or more members.key - must not be null.members - must not be null.reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<M>>> radius(K key, Circle within)
Circle.key - must not be null.within - must not be null.reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<M>>> radius(K key, Circle within, RedisGeoCommands.GeoRadiusCommandArgs args)
Circle applying RedisGeoCommands.GeoRadiusCommandArgs.key - must not be null.within - must not be null.args - must not be null.reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<M>>> radius(K key, M member, double radius)
key - must not be null.member - must not be null.radius - reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<M>>> radius(K key, M member, Distance distance)
Metric.key - must not be null.member - must not be null.distance - must not be null.reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<M>>> radius(K key, M member, Distance distance, RedisGeoCommands.GeoRadiusCommandArgs args)
Metric and RedisGeoCommands.GeoRadiusCommandArgs.key - must not be null.member - must not be null.distance - must not be null.args - must not be null.reactor.core.publisher.Mono<Long> remove(K key, M... members)
key - must not be null.members - must not be null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.