Uses of Interface
org.springframework.data.redis.domain.geo.GeoShape
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
Core package for integrating Redis with Spring concepts.
-
Uses of GeoShape in org.springframework.data.redis.connection
Modifier and TypeMethodDescriptionReactiveGeoCommands.GeoSearchCommand.getShape()
ReactiveGeoCommands.GeoSearchStoreCommand.getShape()
Modifier and TypeMethodDescriptiondefault org.springframework.data.geo.GeoResults<RedisGeoCommands.GeoLocation<byte[]>>
DefaultedRedisConnection.geoSearch
(byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchCommandArgs args) Deprecated.org.springframework.data.geo.GeoResults<RedisGeoCommands.GeoLocation<byte[]>>
DefaultStringRedisConnection.geoSearch
(byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchCommandArgs args) org.springframework.data.geo.GeoResults<RedisGeoCommands.GeoLocation<String>>
DefaultStringRedisConnection.geoSearch
(String key, GeoReference<String> reference, GeoShape predicate, RedisGeoCommands.GeoSearchCommandArgs args) default reactor.core.publisher.Flux<org.springframework.data.geo.GeoResult<RedisGeoCommands.GeoLocation<ByteBuffer>>>
ReactiveGeoCommands.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
.org.springframework.data.geo.GeoResults<RedisGeoCommands.GeoLocation<byte[]>>
RedisGeoCommands.geoSearch
(byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchCommandArgs args) Return the members of a geo set which are within the borders of the area specified by a givenshape
.org.springframework.data.geo.GeoResults<RedisGeoCommands.GeoLocation<String>>
StringRedisConnection.geoSearch
(String key, GeoReference<String> reference, GeoShape predicate, RedisGeoCommands.GeoSearchCommandArgs args) Return the members of a geo set which are within the borders of the area specified by a givenshape
.default Long
DefaultedRedisConnection.geoSearchStore
(byte[] destKey, byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchStoreCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()
}.DefaultStringRedisConnection.geoSearchStore
(byte[] destKey, byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchStoreCommandArgs args) DefaultStringRedisConnection.geoSearchStore
(String destKey, String key, GeoReference<String> reference, GeoShape predicate, RedisGeoCommands.GeoSearchStoreCommandArgs args) default reactor.core.publisher.Mono<Long>
ReactiveGeoCommands.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 givenshape
and store the result atdestKey
.RedisGeoCommands.geoSearchStore
(byte[] destKey, byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchStoreCommandArgs args) Query the members of a geo set which are within the borders of the area specified by a givenshape
and store the result atdestKey
.StringRedisConnection.geoSearchStore
(String destKey, String key, GeoReference<String> reference, GeoShape predicate, RedisGeoCommands.GeoSearchStoreCommandArgs args) Query the members of a geo set which are within the borders of the area specified by a givenshape
and store the result atdestKey
.Creates a newReactiveGeoCommands.GeoSearchCommand
given aGeoShape
.Creates a newReactiveGeoCommands.GeoSearchStoreCommand
given aGeoShape
. -
Uses of GeoShape in org.springframework.data.redis.core
Modifier and TypeMethodDescriptionorg.springframework.data.geo.GeoResults<RedisGeoCommands.GeoLocation<M>>
BoundGeoOperations.search
(GeoReference<M> reference, GeoShape geoPredicate, RedisGeoCommands.GeoSearchCommandArgs args) Get the members usingGeoReference
as center of the query within the boundaries of a givenpredicate
applyingRedisGeoCommands.GeoRadiusCommandArgs
.org.springframework.data.geo.GeoResults<RedisGeoCommands.GeoLocation<M>>
GeoOperations.search
(K key, GeoReference<M> reference, GeoShape geoPredicate, RedisGeoCommands.GeoSearchCommandArgs args) Get the members usingGeoReference
as center of the query within the boundaries of a givenpredicate
applyingRedisGeoCommands.GeoRadiusCommandArgs
.reactor.core.publisher.Flux<org.springframework.data.geo.GeoResult<RedisGeoCommands.GeoLocation<M>>>
ReactiveGeoOperations.search
(K key, GeoReference<M> reference, GeoShape geoPredicate, RedisGeoCommands.GeoSearchCommandArgs args) Get the members usingGeoReference
as center of the query within the boundaries of a givenpredicate
applyingRedisGeoCommands.GeoRadiusCommandArgs
.BoundGeoOperations.searchAndStore
(K destKey, GeoReference<M> reference, GeoShape geoPredicate, RedisGeoCommands.GeoSearchStoreCommandArgs args) Get the members usingGeoReference
as center of the query within the boundaries of a givenpredicate
applyingRedisGeoCommands.GeoRadiusCommandArgs
and store results atdestKey
.GeoOperations.searchAndStore
(K key, K destKey, GeoReference<M> reference, GeoShape geoPredicate, RedisGeoCommands.GeoSearchStoreCommandArgs args) Get the members usingGeoReference
as center of the query within the boundaries of a givenpredicate
applyingRedisGeoCommands.GeoRadiusCommandArgs
and store results atdestKey
.reactor.core.publisher.Mono<Long>
ReactiveGeoOperations.searchAndStore
(K key, K destKey, GeoReference<M> reference, GeoShape geoPredicate, RedisGeoCommands.GeoSearchStoreCommandArgs args) Get the members usingGeoReference
as center of the query within the boundaries of a givenpredicate
applyingRedisGeoCommands.GeoRadiusCommandArgs
and store results atdestKey
. -
Uses of GeoShape in org.springframework.data.redis.domain.geo
Modifier and TypeClassDescriptionclass
Bounding box defined by width and height.class
Radius defined byDistance
.Modifier and TypeMethodDescriptionstatic GeoShape
GeoShape.byBox
(double width, double height, RedisGeoCommands.DistanceUnit distanceUnit) Create a shape used as predicate for geo queries from a bounding box with specified bywidth
andheight
.static GeoShape
GeoShape.byBox
(BoundingBox boundingBox) Create a shape used as predicate for geo queries from aBoundingBox
.static GeoShape
GeoShape.byRadius
(org.springframework.data.geo.Distance radius) Create a shape used as predicate for geo queries from aradius
around the query center point.
RedisCommandsProvider.geoCommands()
}.