Interface ReactiveGeoCommands
- All Known Subinterfaces:
- ReactiveClusterGeoCommands
public interface ReactiveGeoCommands
Redis Geo commands executed using reactive infrastructure.
- Since:
- 2.0
- Author:
- Christoph Strobl, Mark Paluch
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classGEOADDcommand parameters.static classGEODISTcommand parameters.static classGEOHASHcommand parameters.static classGEOPOScommand parameters.static classGEORADIUSBYMEMBERcommand parameters.static classGEORADIUScommand parameters.static classGEOSEARCHcommand parameters.static classGEOSEARCHSTOREcommand parameters.
- 
Method SummaryModifier and TypeMethodDescriptiondefault reactor.core.publisher.Mono<Long>geoAdd(ByteBuffer key, Collection<RedisGeoCommands.GeoLocation<ByteBuffer>> locations) AddRedisGeoCommands.GeoLocationto key.default reactor.core.publisher.Mono<Long>geoAdd(ByteBuffer key, Point point, ByteBuffer member) AddPointwith given member to key.default reactor.core.publisher.Mono<Long>geoAdd(ByteBuffer key, RedisGeoCommands.GeoLocation<ByteBuffer> location) AddRedisGeoCommands.GeoLocationto key.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveGeoCommands.GeoAddCommand,Long>> geoAdd(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoAddCommand> commands) AddRedisGeoCommands.GeoLocations to key.default reactor.core.publisher.Mono<Distance>geoDist(ByteBuffer key, ByteBuffer from, ByteBuffer to) Get theDistancebetween from and to.default reactor.core.publisher.Mono<Distance>geoDist(ByteBuffer key, ByteBuffer from, ByteBuffer to, Metric metric) Get theDistancebetween from and to.reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveGeoCommands.GeoDistCommand,Distance>> geoDist(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoDistCommand> commands) Get theDistancebetween from and to.default reactor.core.publisher.Mono<String>geoHash(ByteBuffer key, ByteBuffer member) Get geohash representation of the position for the one member.geoHash(ByteBuffer key, Collection<ByteBuffer> members) Get geohash representation of the position for one or more members.reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveGeoCommands.GeoHashCommand,String>> geoHash(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoHashCommand> commands) Get geohash representation of the position for one or more members.default reactor.core.publisher.Mono<Point>geoPos(ByteBuffer key, ByteBuffer member) Get thePointrepresentation of positions for the members.geoPos(ByteBuffer key, Collection<ByteBuffer> members) Get thePointrepresentation of positions for one or more members.reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveGeoCommands.GeoPosCommand,Point>> geoPos(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoPosCommand> commands) Get thePointrepresentation of positions for one or more members.default reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>geoRadius(ByteBuffer key, Circle circle) Get the members within the boundaries of a givenCircle.default reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>geoRadius(ByteBuffer key, Circle circle, RedisGeoCommands.GeoRadiusCommandArgs geoRadiusArgs) Get the members within the boundaries of a givenCircleapplying given parameters.reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveGeoCommands.GeoRadiusCommand,reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>>> geoRadius(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoRadiusCommand> commands) Get the members within the boundaries of a givenCircleapplying given parameters.default reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>geoRadiusByMember(ByteBuffer key, ByteBuffer member, Distance distance) Get the members within givenDistancefrom member applying given parameters.default reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>geoRadiusByMember(ByteBuffer key, ByteBuffer member, Distance distance, RedisGeoCommands.GeoRadiusCommandArgs geoRadiusArgs) Get the members within givenDistancefrom member applying given parameters.reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveGeoCommands.GeoRadiusByMemberCommand,reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>>> geoRadiusByMember(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoRadiusByMemberCommand> commands) Get the members within givenDistancefrom member applying given parameters.default reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>geoSearch(ByteBuffer key, GeoReference<ByteBuffer> reference, GeoShape shape, RedisGeoCommands.GeoSearchCommandArgs args) Return the members of a geo set which are within the borders of the area specified by a givenshape.reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveGeoCommands.GeoSearchCommand,reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>>> geoSearch(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoSearchCommand> commands) Get the members within givenGeoShapefromGeoReferenceapplying given parameters.default reactor.core.publisher.Mono<Long>geoSearchStore(ByteBuffer destKey, ByteBuffer key, GeoReference<ByteBuffer> reference, GeoShape shape, RedisGeoCommands.GeoSearchStoreCommandArgs args) Query the members of a geo set which are within the borders of the area specified by a givenshapeand store the result atdestKey.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveGeoCommands.GeoSearchStoreCommand,Long>> geoSearchStore(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoSearchStoreCommand> commands) Store the members within givenGeoShapefromGeoReferenceapplying given parameters in a new geo set.
- 
Method Details- 
geoAddAddPointwith given member to key.- Parameters:
- key- must not be null.
- point- must not be null.
- member- must not be null.
- Returns:
- See Also:
 
- 
geoAdddefault reactor.core.publisher.Mono<Long> geoAdd(ByteBuffer key, RedisGeoCommands.GeoLocation<ByteBuffer> location) AddRedisGeoCommands.GeoLocationto key.- Parameters:
- key- must not be null.
- location- must not be null.
- Returns:
- See Also:
 
- 
geoAdddefault reactor.core.publisher.Mono<Long> geoAdd(ByteBuffer key, Collection<RedisGeoCommands.GeoLocation<ByteBuffer>> locations) AddRedisGeoCommands.GeoLocationto key.- Parameters:
- key- must not be null.
- locations- must not be null.
- Returns:
- See Also:
 
- 
geoAddreactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveGeoCommands.GeoAddCommand,Long>> geoAdd(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoAddCommand> commands) AddRedisGeoCommands.GeoLocations to key.- Parameters:
- commands- must not be null.
- Returns:
- See Also:
 
- 
geoDistdefault reactor.core.publisher.Mono<Distance> geoDist(ByteBuffer key, ByteBuffer from, ByteBuffer to) Get theDistancebetween from and to.- Parameters:
- key- must not be null.
- from- must not be null.
- to- must not be null.
- Returns:
- See Also:
 
- 
geoDistdefault reactor.core.publisher.Mono<Distance> geoDist(ByteBuffer key, ByteBuffer from, ByteBuffer to, Metric metric) Get theDistancebetween from and to.- Parameters:
- key- must not be null.
- from- must not be null.
- to- must not be null.
- metric- must not be null.
- Returns:
- See Also:
 
- 
geoDistreactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveGeoCommands.GeoDistCommand,Distance>> geoDist(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoDistCommand> commands) Get theDistancebetween from and to.- Parameters:
- commands- must not be null.
- Returns:
- See Also:
 
- 
geoHashGet geohash representation of the position for the one member.- Parameters:
- key- must not be null.
- member- must not be null.
- Returns:
- See Also:
 
- 
geoHashdefault reactor.core.publisher.Mono<List<String>> geoHash(ByteBuffer key, Collection<ByteBuffer> members) Get geohash representation of the position for one or more members.- Parameters:
- key- must not be null.
- members- must not be null.
- Returns:
- See Also:
 
- 
geoHashreactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveGeoCommands.GeoHashCommand,String>> geoHash(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoHashCommand> commands) Get geohash representation of the position for one or more members.- Parameters:
- commands- must not be null.
- Returns:
- See Also:
 
- 
geoPosGet thePointrepresentation of positions for the members.- Parameters:
- key- must not be null.
- member- must not be null.
- Returns:
- See Also:
 
- 
geoPosdefault reactor.core.publisher.Mono<List<Point>> geoPos(ByteBuffer key, Collection<ByteBuffer> members) Get thePointrepresentation of positions for one or more members.- Parameters:
- key- must not be null.
- members- must not be null.
- Returns:
- See Also:
 
- 
geoPosreactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveGeoCommands.GeoPosCommand,Point>> geoPos(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoPosCommand> commands) Get thePointrepresentation of positions for one or more members.- Parameters:
- commands- must not be null.
- Returns:
- See Also:
 
- 
geoRadiusdefault reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>> geoRadius(ByteBuffer key, Circle circle) Get the members within the boundaries of a givenCircle.- Parameters:
- key- must not be null.
- circle- must not be null.
- Returns:
- See Also:
 
- 
geoRadiusdefault reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>> geoRadius(ByteBuffer key, Circle circle, RedisGeoCommands.GeoRadiusCommandArgs geoRadiusArgs) Get the members within the boundaries of a givenCircleapplying given parameters.- Parameters:
- key- must not be null.
- circle- must not be null.
- geoRadiusArgs- must not be null.
- Returns:
- See Also:
 
- 
geoRadiusreactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveGeoCommands.GeoRadiusCommand,reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>>> geoRadius(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoRadiusCommand> commands) Get the members within the boundaries of a givenCircleapplying given parameters.- Parameters:
- commands-
- Returns:
- See Also:
 
- 
geoRadiusByMemberdefault reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>> geoRadiusByMember(ByteBuffer key, ByteBuffer member, Distance distance) Get the members within givenDistancefrom member applying given parameters.- Parameters:
- key- must not be null.
- member- must not be null.
- Returns:
- See Also:
 
- 
geoRadiusByMemberdefault reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>> geoRadiusByMember(ByteBuffer key, ByteBuffer member, Distance distance, RedisGeoCommands.GeoRadiusCommandArgs geoRadiusArgs) Get the members within givenDistancefrom member applying given parameters.- Parameters:
- key- must not be null.
- member- must not be null.
- geoRadiusArgs- must not be null.
- Returns:
- See Also:
 
- 
geoRadiusByMemberreactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveGeoCommands.GeoRadiusByMemberCommand,reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>>> geoRadiusByMember(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoRadiusByMemberCommand> commands) Get the members within givenDistancefrom member applying given parameters.- Parameters:
- commands- must not be null.
- Returns:
- See Also:
 
- 
geoSearchdefault reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>> geoSearch(ByteBuffer key, GeoReference<ByteBuffer> reference, GeoShape shape, RedisGeoCommands.GeoSearchCommandArgs args) Return the members of a geo set which are within the borders of the area specified by a givenshape. The query's center point is provided byGeoReference.- Parameters:
- key- must not be null.
- reference- must not be null.
- shape- must not be null.
- args- must not be null.
- Returns:
- Since:
- 2.6
- See Also:
 
- 
geoSearchreactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveGeoCommands.GeoSearchCommand,reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>>> geoSearch(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoSearchCommand> commands) Get the members within givenGeoShapefromGeoReferenceapplying given parameters.- Parameters:
- commands- must not be null.
- Returns:
- Since:
- 2.6
- See Also:
 
- 
geoSearchStoredefault reactor.core.publisher.Mono<Long> geoSearchStore(ByteBuffer destKey, ByteBuffer key, GeoReference<ByteBuffer> reference, GeoShape shape, RedisGeoCommands.GeoSearchStoreCommandArgs args) Query the members of a geo set which are within the borders of the area specified by a givenshapeand store the result atdestKey. The query's center point is provided byGeoReference.- Parameters:
- key- must not be null.
- reference- must not be null.
- shape- must not be null.
- args- must not be null.
- Returns:
- Since:
- 2.6
- See Also:
 
- 
geoSearchStorereactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveGeoCommands.GeoSearchStoreCommand,Long>> geoSearchStore(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoSearchStoreCommand> commands) Store the members within givenGeoShapefromGeoReferenceapplying given parameters in a new geo set.- Parameters:
- commands- must not be null.
- Returns:
- Since:
- 2.6
- See Also:
 
 
-