Uses of Class
org.springframework.data.redis.connection.RedisGeoCommands.GeoSearchCommandArgs
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 RedisGeoCommands.GeoSearchCommandArgs in org.springframework.data.redis.connection
Modifier and TypeClassDescriptionstatic class
Additional arguments (like count/sort/...) to be used withRedisGeoCommands
.Modifier and TypeMethodDescriptionprotected RedisGeoCommands.GeoSearchCommandArgs
RedisGeoCommands.GeoSearchCommandArgs.clone()
RedisGeoCommands.GeoSearchCommandArgs.includeCoordinates()
Sets theRedisGeoCommands.GeoRadiusCommandArgs.Flag.WITHCOORD
flag to also return the longitude, latitude coordinates of the matching items.RedisGeoCommands.GeoSearchCommandArgs.includeDistance()
Sets theRedisGeoCommands.GeoRadiusCommandArgs.Flag.WITHDIST
flag to also return the distance of the returned items from the specified center.RedisGeoCommands.GeoSearchCommandArgs.limit
(long count) Limit the results to the first N matching items.RedisGeoCommands.GeoSearchCommandArgs.limit
(long count, boolean any) Limit the results to the first N matching items.RedisGeoCommands.GeoSearchCommandArgs.newGeoSearchArgs()
Create newRedisGeoCommands.GeoSearchCommandArgs
.RedisGeoCommands.GeoSearchCommandArgs.sort
(org.springframework.data.domain.Sort.Direction direction) Apply a sort direction.RedisGeoCommands.GeoSearchCommandArgs.sortAscending()
Sort returned items from the nearest to the furthest, relative to the center.RedisGeoCommands.GeoSearchCommandArgs.sortDescending()
Sort returned items from the furthest to the nearest, relative to the center.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
.ReactiveGeoCommands.GeoSearchCommand.with
(RedisGeoCommands.GeoSearchCommandArgs args) Sets the command args. -
Uses of RedisGeoCommands.GeoSearchCommandArgs in org.springframework.data.redis.core
Modifier and TypeMethodDescriptiondefault org.springframework.data.geo.GeoResults<RedisGeoCommands.GeoLocation<M>>
BoundGeoOperations.search
(GeoReference<M> reference, org.springframework.data.geo.Distance radius, RedisGeoCommands.GeoSearchCommandArgs args) Get the members usingGeoReference
as center of the query within the boundaries of a givenradius
applyingRedisGeoCommands.GeoRadiusCommandArgs
.default org.springframework.data.geo.GeoResults<RedisGeoCommands.GeoLocation<M>>
BoundGeoOperations.search
(GeoReference<M> reference, BoundingBox boundingBox, RedisGeoCommands.GeoSearchCommandArgs args) Get the members usingGeoReference
as center of the query within the boundaries of a given bounding box applyingRedisGeoCommands.GeoRadiusCommandArgs
.org.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
.default org.springframework.data.geo.GeoResults<RedisGeoCommands.GeoLocation<M>>
GeoOperations.search
(K key, GeoReference<M> reference, org.springframework.data.geo.Distance radius, RedisGeoCommands.GeoSearchCommandArgs args) Get the members usingGeoReference
as center of the query within the boundaries of a givenradius
applyingRedisGeoCommands.GeoRadiusCommandArgs
.default org.springframework.data.geo.GeoResults<RedisGeoCommands.GeoLocation<M>>
GeoOperations.search
(K key, GeoReference<M> reference, BoundingBox boundingBox, RedisGeoCommands.GeoSearchCommandArgs args) Get the members usingGeoReference
as center of the query within the boundaries of a given bounding box 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
.default reactor.core.publisher.Flux<org.springframework.data.geo.GeoResult<RedisGeoCommands.GeoLocation<M>>>
ReactiveGeoOperations.search
(K key, GeoReference<M> reference, org.springframework.data.geo.Distance radius, RedisGeoCommands.GeoSearchCommandArgs args) Get the members usingGeoReference
as center of the query within the boundaries of a givenradius
applyingRedisGeoCommands.GeoRadiusCommandArgs
.default reactor.core.publisher.Flux<org.springframework.data.geo.GeoResult<RedisGeoCommands.GeoLocation<M>>>
ReactiveGeoOperations.search
(K key, GeoReference<M> reference, BoundingBox boundingBox, RedisGeoCommands.GeoSearchCommandArgs args) Get the members usingGeoReference
as center of the query within the boundaries of a given bounding box 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
.
RedisCommandsProvider.geoCommands()
}.