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:ShapeGeoSearchDefines search within boxRequires Redis 6.2.0 and higher.
- Specified by:
boxin interfaceShapeGeoSearch- Parameters:
width- - box widthheight- - box heightgeoUnit- - geo unit- Returns:
- search conditions object
-
radius
Description copied from interface:ShapeGeoSearchDefines search within radius- Specified by:
radiusin interfaceShapeGeoSearch- Parameters:
radius- - radius in geo unitsgeoUnit- - geo unit- Returns:
- search conditions object
-
count
Description copied from interface:OptionalGeoSearchDefines limit of search result- Specified by:
countin interfaceOptionalGeoSearch- Parameters:
value- - result limit- Returns:
- search conditions object
-
countAny
Description copied from interface:OptionalGeoSearchDefines 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:
countAnyin interfaceOptionalGeoSearch- Parameters:
value- - result limit- Returns:
- search conditions object
-
order
Description copied from interface:OptionalGeoSearchDefines order of search result- Specified by:
orderin interfaceOptionalGeoSearch- Parameters:
value- - result order- Returns:
- search conditions object
-
getMember
-
getLongitude
-
getLatitude
-
getWidth
-
getHeight
-
getRadius
-
getUnit
-
getCount
-
isCountAny
public boolean isCountAny() -
getOrder
-