Module io.inverno.mod.redis
Package io.inverno.mod.redis.operations
Interface RedisGeoReactiveOperations.AbstractGeosearchBuilder<A,B,C extends RedisGeoReactiveOperations.AbstractGeosearchBuilder<A,B,C>>
- Type Parameters:
A
- key typeB
- value typeC
- builder type
- All Known Subinterfaces:
RedisGeoReactiveOperations.GeosearchBuilder<A,
,B> RedisGeoReactiveOperations.GeosearchExtendedBuilder<A,
,B> RedisGeoReactiveOperations.GeosearchstoreBuilder<A,
B>
- Enclosing interface:
RedisGeoReactiveOperations<A,
B>
public 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]]
- Since:
- 1.4
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionasc()
byBox
(double width, double height, RedisGeoReactiveOperations.GeoUnit unit) byRadius
(double radius, RedisGeoReactiveOperations.GeoUnit unit) count
(long count) countany
(long count) desc()
fromCoordinates
(double longitude, double latitude) fromMember
(B member)
-
Method Details
-
fromMember
- Parameters:
member
-- Returns:
-
fromCoordinates
- Parameters:
longitude
-latitude
-- Returns:
-
byRadius
- Parameters:
radius
-unit
-- Returns:
-
byBox
- Parameters:
width
-height
-unit
-- Returns:
-
asc
C asc()- Returns:
-
desc
C desc()- Returns:
-
count
- Parameters:
count
-- Returns:
-
countany
- Parameters:
count
-- Returns:
-