public interface ReactiveGeoCommands
Modifier and Type | Interface and Description |
---|---|
static class |
ReactiveGeoCommands.GeoAddCommand
GEOADD command parameters. |
static class |
ReactiveGeoCommands.GeoDistCommand
GEODIST command parameters. |
static class |
ReactiveGeoCommands.GeoHashCommand
GEOHASH command parameters. |
static class |
ReactiveGeoCommands.GeoPosCommand
GEOPOS command parameters. |
static class |
ReactiveGeoCommands.GeoRadiusByMemberCommand
GEORADIUSBYMEMBER command parameters. |
static class |
ReactiveGeoCommands.GeoRadiusCommand
GEORADIUS command parameters. |
Modifier and Type | Method and Description |
---|---|
default reactor.core.publisher.Mono<Long> |
geoAdd(ByteBuffer key,
Collection<RedisGeoCommands.GeoLocation<ByteBuffer>> locations)
Add
RedisGeoCommands.GeoLocation to key. |
default reactor.core.publisher.Mono<Long> |
geoAdd(ByteBuffer key,
Point point,
ByteBuffer member)
Add
Point with given member to key. |
default reactor.core.publisher.Mono<Long> |
geoAdd(ByteBuffer key,
RedisGeoCommands.GeoLocation<ByteBuffer> location)
Add
RedisGeoCommands.GeoLocation to key. |
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveGeoCommands.GeoAddCommand,Long>> |
geoAdd(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoAddCommand> commands)
Add
RedisGeoCommands.GeoLocation s to key. |
default reactor.core.publisher.Mono<Distance> |
geoDist(ByteBuffer key,
ByteBuffer from,
ByteBuffer to)
Get the
Distance between from and to. |
default reactor.core.publisher.Mono<Distance> |
geoDist(ByteBuffer key,
ByteBuffer from,
ByteBuffer to,
Metric metric)
Get the
Distance between from and to. |
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveGeoCommands.GeoDistCommand,Distance>> |
geoDist(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoDistCommand> commands)
Get the
Distance between from and to. |
default reactor.core.publisher.Mono<String> |
geoHash(ByteBuffer key,
ByteBuffer member)
Get geohash representation of the position for the one member.
|
default reactor.core.publisher.Mono<List<String>> |
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 the
Point representation of positions for the members. |
default reactor.core.publisher.Mono<List<Point>> |
geoPos(ByteBuffer key,
Collection<ByteBuffer> members)
Get the
Point representation of positions for one or more members. |
reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveGeoCommands.GeoPosCommand,Point>> |
geoPos(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoPosCommand> commands)
Get the
Point representation 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 given
Circle . |
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 given
Circle applying 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 given
Circle applying given parameters. |
default reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>> |
geoRadiusByMember(ByteBuffer key,
ByteBuffer member,
Distance distance)
Get the members within given
Distance from 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 given
Distance from 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 given
Distance from member applying given parameters. |
default reactor.core.publisher.Mono<Long> geoAdd(ByteBuffer key, Point point, ByteBuffer member)
Point
with given member to key.key
- must not be null.point
- must not be null.member
- must not be null.default reactor.core.publisher.Mono<Long> geoAdd(ByteBuffer key, RedisGeoCommands.GeoLocation<ByteBuffer> location)
RedisGeoCommands.GeoLocation
to key.key
- must not be null.location
- must not be null.default reactor.core.publisher.Mono<Long> geoAdd(ByteBuffer key, Collection<RedisGeoCommands.GeoLocation<ByteBuffer>> locations)
RedisGeoCommands.GeoLocation
to key.key
- must not be null.locations
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveGeoCommands.GeoAddCommand,Long>> geoAdd(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoAddCommand> commands)
RedisGeoCommands.GeoLocation
s to key.commands
- must not be null.default reactor.core.publisher.Mono<Distance> geoDist(ByteBuffer key, ByteBuffer from, ByteBuffer to)
Distance
between from and to.key
- must not be null.from
- must not be null.to
- must not be null.default reactor.core.publisher.Mono<Distance> geoDist(ByteBuffer key, ByteBuffer from, ByteBuffer to, Metric metric)
Distance
between from and to.key
- must not be null.from
- must not be null.to
- must not be null.metric
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveGeoCommands.GeoDistCommand,Distance>> geoDist(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoDistCommand> commands)
Distance
between from and to.commands
- must not be null.default reactor.core.publisher.Mono<String> geoHash(ByteBuffer key, ByteBuffer member)
key
- must not be null.member
- must not be null.default reactor.core.publisher.Mono<List<String>> geoHash(ByteBuffer key, Collection<ByteBuffer> members)
key
- must not be null.members
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveGeoCommands.GeoHashCommand,String>> geoHash(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoHashCommand> commands)
commands
- must not be null.default reactor.core.publisher.Mono<Point> geoPos(ByteBuffer key, ByteBuffer member)
Point
representation of positions for the members.key
- must not be null.member
- must not be null.default reactor.core.publisher.Mono<List<Point>> geoPos(ByteBuffer key, Collection<ByteBuffer> members)
Point
representation of positions for one or more members.key
- must not be null.members
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.MultiValueResponse<ReactiveGeoCommands.GeoPosCommand,Point>> geoPos(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoPosCommand> commands)
Point
representation of positions for one or more members.commands
- must not be null.default reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>> geoRadius(ByteBuffer key, Circle circle)
Circle
.key
- must not be null.circle
- must not be null.default reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>> geoRadius(ByteBuffer key, Circle circle, RedisGeoCommands.GeoRadiusCommandArgs geoRadiusArgs)
Circle
applying given parameters.key
- must not be null.circle
- must not be null.geoRadiusArgs
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveGeoCommands.GeoRadiusCommand,reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>>> geoRadius(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoRadiusCommand> commands)
Circle
applying given parameters.commands
- default reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>> geoRadiusByMember(ByteBuffer key, ByteBuffer member, Distance distance)
Distance
from member applying given parameters.key
- must not be null.member
- must not be null.default reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>> geoRadiusByMember(ByteBuffer key, ByteBuffer member, Distance distance, RedisGeoCommands.GeoRadiusCommandArgs geoRadiusArgs)
Distance
from member applying given parameters.key
- must not be null.member
- must not be null.geoRadiusArgs
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveGeoCommands.GeoRadiusByMemberCommand,reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>>> geoRadiusByMember(org.reactivestreams.Publisher<ReactiveGeoCommands.GeoRadiusByMemberCommand> commands)
Distance
from member applying given parameters.commands
- must not be null.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.