Module io.inverno.mod.redis
Package io.inverno.mod.redis.operations
Interface RedisGeoReactiveOperations<A,B>
- Type Parameters:
A
- key typeB
- value type
- All Known Subinterfaces:
RedisClient<A,
,B> RedisOperations<A,
,B> RedisTransactionalClient<A,
,B> RedisTransactionalOperations<A,
B>
- All Known Implementing Classes:
io.inverno.mod.redis.lettuce.internal.AbstractRedisClient
,PoolRedisClient
,PoolRedisClusterClient
public interface RedisGeoReactiveOperations<A,B>
Redis Geo reactive commands.
- Since:
- 1.4
- Author:
- Jeremy Kuhn
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
RedisGeoReactiveOperations.AbstractGeoradiusBuilder<A,
B, C extends RedisGeoReactiveOperations.AbstractGeoradiusBuilder<A, B, C>> GEORADIUS key longitude latitude radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC] GEORADIUSBYMEMBER key member radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC]static interface
RedisGeoReactiveOperations.AbstractGeoradiusExtendedBuilder<A,
B, C extends RedisGeoReactiveOperations.AbstractGeoradiusExtendedBuilder<A, B, C>> GEORADIUS key longitude latitude radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC] GEORADIUSBYMEMBER key member radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC]static interface
RedisGeoReactiveOperations.AbstractGeoradiusStoreBuilder<A,
B, C extends RedisGeoReactiveOperations.AbstractGeoradiusStoreBuilder<A, B, C>> GEORADIUS key longitude latitude radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key] GEORADIUSBYMEMBER key member radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key]static interface
RedisGeoReactiveOperations.AbstractGeosearchBuilder<A,
B, C extends RedisGeoReactiveOperations.AbstractGeosearchBuilder<A, B, C>> GEOSEARCH key [FROMMEMBER member] [FROMLONLAT longitude latitude] [BYRADIUS radius m|km|ft|mi] [BYBOX width height m|km|ft|mi] [ASC|DESC] [COUNT count [ANY]] GEOSEARCHSTORE destination source [FROMMEMBER member] [FROMLONLAT longitude latitude] [BYRADIUS radius m|km|ft|mi] [BYBOX width height m|km|ft|mi] [ASC|DESC] [COUNT count [ANY]]static interface
GEOADD key [NX|XX] [CH] longitude latitude member [longitude latitude member ...]static interface
static interface
static interface
GEORADIUS key longitude latitude radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC]static interface
GEORADIUSBYMEMBER key member radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC]static interface
GEORADIUSBYMEMBER key member radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC]static interface
GEORADIUSBYMEMBER key member radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key]static interface
GEORADIUS key longitude latitude radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC]static interface
GEORADIUS key longitude latitude radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key]static interface
GEOSEARCH key [FROMMEMBER member] [FROMLONLAT longitude latitude] [BYRADIUS radius m|km|ft|mi] [BYBOX width height m|km|ft|mi] [ASC|DESC] [COUNT count [ANY]]static interface
GEOSEARCH key [FROMMEMBER member] [FROMLONLAT longitude latitude] [BYRADIUS radius m|km|ft|mi] [BYBOX width height m|km|ft|mi] [ASC|DESC] [COUNT count [ANY]] [WITHCOORD] [WITHDIST] [WITHHASH]static interface
GEOSEARCHSTORE destination source [FROMMEMBER member] [FROMLONLAT longitude latitude] [BYRADIUS radius m|km|ft|mi] [BYBOX width height m|km|ft|mi] [ASC|DESC] [COUNT count [ANY]] [STOREDIST]static enum
static interface
-
Method Summary
Modifier and TypeMethodDescriptiongeoadd()
GEOADD key [NX|XX] [CH] longitude latitude member [longitude latitude member ...]GEOADD key longitude latitude membergeoadd
(A key, Consumer<RedisGeoReactiveOperations.GeoItems<B>> items) GEOADD key longitude latitude member [longitude latitude member ...]geodist
(A key, B member1, B member2, RedisGeoReactiveOperations.GeoUnit unit) GEODIST key member1 member2 [m|km|ft|mi]GEOHASH key memberGEOHASH key member [member ...]GEOPOS key memberGEOPOS key member [member ...]GEORADIUS key longitude latitude radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC]georadius
(A key, double longitude, double latitude, double radius, RedisGeoReactiveOperations.GeoUnit unit) GEORADIUS key longitude latitude radius m|km|ft|miGEORADIUSBYMEMBER key member radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC]georadiusbymember
(A key, B member, double radius, RedisGeoReactiveOperations.GeoUnit unit) GEORADIUSBYMEMBER key member radius m|km|ft|miGEORADIUSBYMEMBER key member radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC]GEORADIUSBYMEMBER key member radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key]GEORADIUS key longitude latitude radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC]GEORADIUS key longitude latitude radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key]GEOSEARCH key [FROMMEMBER member] [FROMLONLAT longitude latitude] [BYRADIUS radius m|km|ft|mi] [BYBOX width height m|km|ft|mi] [ASC|DESC] [COUNT count [ANY]]GEOSEARCH key [FROMMEMBER member] [FROMLONLAT longitude latitude] [BYRADIUS radius m|km|ft|mi] [BYBOX width height m|km|ft|mi] [ASC|DESC] [COUNT count [ANY]] [WITHCOORD] [WITHDIST] [WITHHASH]GEOSEARCHSTORE destination source [FROMMEMBER member] [FROMLONLAT longitude latitude] [BYRADIUS radius m|km|ft|mi] [BYBOX width height m|km|ft|mi] [ASC|DESC] [COUNT count [ANY]] [STOREDIST]
-
Method Details
-
geoadd
GEOADD key longitude latitude member- Parameters:
key
-longitude
-latitude
-member
-- Returns:
-
geoadd
GEOADD key longitude latitude member [longitude latitude member ...]- Parameters:
key
-items
-- Returns:
-
geoadd
RedisGeoReactiveOperations.GeoaddBuilder<A,B> geoadd()GEOADD key [NX|XX] [CH] longitude latitude member [longitude latitude member ...]- Returns:
-
geodist
GEODIST key member1 member2 [m|km|ft|mi]- Parameters:
key
-member1
-member2
-unit
-- Returns:
-
geohash
GEOHASH key member- Parameters:
key
-member
-- Returns:
-
geohash
GEOHASH key member [member ...]- Parameters:
key
-members
-- Returns:
-
geopos
GEOPOS key member- Parameters:
key
-member
-- Returns:
-
geopos
Flux<Optional<RedisGeoReactiveOperations.GeoCoordinates>> geopos(A key, Consumer<Values<B>> members) GEOPOS key member [member ...]- Parameters:
key
-members
-- Returns:
-
georadius
default Flux<B> georadius(A key, double longitude, double latitude, double radius, RedisGeoReactiveOperations.GeoUnit unit) GEORADIUS key longitude latitude radius m|km|ft|mi- Parameters:
key
-longitude
-latitude
-radius
-unit
-- Returns:
-
georadius
RedisGeoReactiveOperations.GeoradiusBuilder<A,B> georadius()GEORADIUS key longitude latitude radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC]- Returns:
-
georadiusExtended
RedisGeoReactiveOperations.GeoradiusExtendedBuilder<A,B> georadiusExtended()GEORADIUS key longitude latitude radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC]- Returns:
-
georadiusStore
RedisGeoReactiveOperations.GeoradiusStoreBuilder<A,B> georadiusStore()GEORADIUS key longitude latitude radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key]- Returns:
-
georadiusbymember
default Flux<B> georadiusbymember(A key, B member, double radius, RedisGeoReactiveOperations.GeoUnit unit) GEORADIUSBYMEMBER key member radius m|km|ft|mi- Parameters:
key
-member
-radius
-unit
-- Returns:
-
georadiusbymember
RedisGeoReactiveOperations.GeoradiusbymemberBuilder<A,B> georadiusbymember()GEORADIUSBYMEMBER key member radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC]- Returns:
-
georadiusbymemberExtended
RedisGeoReactiveOperations.GeoradiusbymemberExtendedBuilder<A,B> georadiusbymemberExtended()GEORADIUSBYMEMBER key member radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC]- Returns:
-
georadiusbymemberStore
RedisGeoReactiveOperations.GeoradiusbymemberStoreBuilder<A,B> georadiusbymemberStore()GEORADIUSBYMEMBER key member radius m|km|ft|mi [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key]- Returns:
-
geosearch
RedisGeoReactiveOperations.GeosearchBuilder<A,B> geosearch()GEOSEARCH key [FROMMEMBER member] [FROMLONLAT longitude latitude] [BYRADIUS radius m|km|ft|mi] [BYBOX width height m|km|ft|mi] [ASC|DESC] [COUNT count [ANY]]- Returns:
-
geosearchExtended
RedisGeoReactiveOperations.GeosearchExtendedBuilder<A,B> geosearchExtended()GEOSEARCH key [FROMMEMBER member] [FROMLONLAT longitude latitude] [BYRADIUS radius m|km|ft|mi] [BYBOX width height m|km|ft|mi] [ASC|DESC] [COUNT count [ANY]] [WITHCOORD] [WITHDIST] [WITHHASH]- Returns:
-
geosearchstore
RedisGeoReactiveOperations.GeosearchstoreBuilder<A,B> geosearchstore()GEOSEARCHSTORE destination source [FROMMEMBER member] [FROMLONLAT longitude latitude] [BYRADIUS radius m|km|ft|mi] [BYBOX width height m|km|ft|mi] [ASC|DESC] [COUNT count [ANY]] [STOREDIST]- Returns:
-