Package org.redisson.api.geo
Class GeoSearchParams
java.lang.Object
org.redisson.api.geo.GeoSearchParams
- All Implemented Interfaces:
GeoSearchArgs
,OptionalGeoSearch
,ShapeGeoSearch
- Author:
- Nikita Koksharov
-
Method Details
-
box
Description copied from interface:ShapeGeoSearch
Defines search within boxRequires Redis 6.2.0 and higher.
- Specified by:
box
in interfaceShapeGeoSearch
- Parameters:
width
- - box widthheight
- - box heightgeoUnit
- - geo unit- Returns:
- search conditions object
-
radius
Description copied from interface:ShapeGeoSearch
Defines search within radius- Specified by:
radius
in interfaceShapeGeoSearch
- Parameters:
radius
- - radius in geo unitsgeoUnit
- - geo unit- Returns:
- search conditions object
-
count
Description copied from interface:OptionalGeoSearch
Defines limit of search result- Specified by:
count
in interfaceOptionalGeoSearch
- Parameters:
value
- - result limit- Returns:
- search conditions object
-
countAny
Description copied from interface:OptionalGeoSearch
Defines limit of search result. Returns as soon as enough matches are found. Result size might be not closest to defined limit, but works faster.- Specified by:
countAny
in interfaceOptionalGeoSearch
- Parameters:
value
- - result limit- Returns:
- search conditions object
-
order
Description copied from interface:OptionalGeoSearch
Defines order of search result- Specified by:
order
in interfaceOptionalGeoSearch
- Parameters:
value
- - result order- Returns:
- search conditions object
-
getMember
-
getLongitude
-
getLatitude
-
getWidth
-
getHeight
-
getRadius
-
getUnit
-
getCount
-
isCountAny
public boolean isCountAny() -
getOrder
-