Package | Description |
---|---|
org.springframework.data.redis.connection |
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
|
org.springframework.data.redis.core |
Core package for integrating Redis with Spring concepts.
|
org.springframework.data.redis.domain.geo |
Modifier and Type | Method and Description |
---|---|
GeoShape |
ReactiveGeoCommands.GeoSearchCommand.getShape() |
GeoShape |
ReactiveGeoCommands.GeoSearchStoreCommand.getShape() |
Modifier and Type | Method and Description |
---|---|
GeoResults<RedisGeoCommands.GeoLocation<byte[]>> |
DefaultStringRedisConnection.geoSearch(byte[] key,
GeoReference<byte[]> reference,
GeoShape predicate,
RedisGeoCommands.GeoSearchCommandArgs args) |
default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> |
DefaultedRedisConnection.geoSearch(byte[] key,
GeoReference<byte[]> reference,
GeoShape predicate,
RedisGeoCommands.GeoSearchCommandArgs args)
Deprecated.
in favor of
RedisConnection.geoCommands() }. |
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 given
shape . |
default reactor.core.publisher.Flux<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 given
shape . |
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 given
shape . |
GeoResults<RedisGeoCommands.GeoLocation<String>> |
DefaultStringRedisConnection.geoSearch(String key,
GeoReference<String> reference,
GeoShape predicate,
RedisGeoCommands.GeoSearchCommandArgs args) |
Long |
DefaultStringRedisConnection.geoSearchStore(byte[] destKey,
byte[] key,
GeoReference<byte[]> reference,
GeoShape predicate,
RedisGeoCommands.GeoSearchStoreCommandArgs args) |
default Long |
DefaultedRedisConnection.geoSearchStore(byte[] destKey,
byte[] key,
GeoReference<byte[]> reference,
GeoShape predicate,
RedisGeoCommands.GeoSearchStoreCommandArgs args)
Deprecated.
in favor of
RedisConnection.geoCommands() }. |
Long |
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 given
shape
and store the result at destKey . |
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 given
shape
and store the result at destKey . |
Long |
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 given
shape
and store the result at destKey . |
Long |
DefaultStringRedisConnection.geoSearchStore(String destKey,
String key,
GeoReference<String> reference,
GeoShape predicate,
RedisGeoCommands.GeoSearchStoreCommandArgs args) |
static ReactiveGeoCommands.GeoSearchCommand |
ReactiveGeoCommands.GeoSearchCommand.within(GeoShape shape)
Creates a new
ReactiveGeoCommands.GeoSearchCommand given a GeoShape . |
static ReactiveGeoCommands.GeoSearchStoreCommand |
ReactiveGeoCommands.GeoSearchStoreCommand.within(GeoShape shape)
Creates a new
ReactiveGeoCommands.GeoSearchStoreCommand given a GeoShape . |
Modifier and Type | Method and Description |
---|---|
GeoResults<RedisGeoCommands.GeoLocation<M>> |
BoundGeoOperations.search(GeoReference<M> reference,
GeoShape geoPredicate,
RedisGeoCommands.GeoSearchCommandArgs args)
Get the members using
GeoReference as center of the query within the boundaries of a given
predicate applying RedisGeoCommands.GeoRadiusCommandArgs . |
reactor.core.publisher.Flux<GeoResult<RedisGeoCommands.GeoLocation<M>>> |
ReactiveGeoOperations.search(K key,
GeoReference<M> reference,
GeoShape geoPredicate,
RedisGeoCommands.GeoSearchCommandArgs args)
Get the members using
GeoReference as center of the query within the boundaries of a given
predicate applying RedisGeoCommands.GeoRadiusCommandArgs . |
GeoResults<RedisGeoCommands.GeoLocation<M>> |
GeoOperations.search(K key,
GeoReference<M> reference,
GeoShape geoPredicate,
RedisGeoCommands.GeoSearchCommandArgs args)
Get the members using
GeoReference as center of the query within the boundaries of a given
predicate applying RedisGeoCommands.GeoRadiusCommandArgs . |
Long |
BoundGeoOperations.searchAndStore(K destKey,
GeoReference<M> reference,
GeoShape geoPredicate,
RedisGeoCommands.GeoSearchStoreCommandArgs args)
Get the members using
GeoReference as center of the query within the boundaries of a given
predicate applying RedisGeoCommands.GeoRadiusCommandArgs and store results at destKey . |
reactor.core.publisher.Mono<Long> |
ReactiveGeoOperations.searchAndStore(K key,
K destKey,
GeoReference<M> reference,
GeoShape geoPredicate,
RedisGeoCommands.GeoSearchStoreCommandArgs args)
Get the members using
GeoReference as center of the query within the boundaries of a given
predicate applying RedisGeoCommands.GeoRadiusCommandArgs and store results at destKey . |
Long |
GeoOperations.searchAndStore(K key,
K destKey,
GeoReference<M> reference,
GeoShape geoPredicate,
RedisGeoCommands.GeoSearchStoreCommandArgs args)
Get the members using
GeoReference as center of the query within the boundaries of a given
predicate applying RedisGeoCommands.GeoRadiusCommandArgs and store results at destKey . |
Modifier and Type | Class and Description |
---|---|
class |
BoxShape
Bounding box defined by width and height.
|
class |
RadiusShape
Radius defined by
Distance . |
Modifier and Type | Method and Description |
---|---|
static GeoShape |
GeoShape.byBox(BoundingBox boundingBox)
Create a shape used as predicate for geo queries from a
BoundingBox . |
static 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 by
width and
height . |
static GeoShape |
GeoShape.byRadius(Distance radius)
Create a shape used as predicate for geo queries from a
radius around the query center point. |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.