Package org.redisson.api.geo
Interface ShapeGeoSearch
-
public interface ShapeGeoSearch
Arguments object for RGeo search method.- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OptionalGeoSearch
box(double width, double height, GeoUnit geoUnit)
Defines search within boxOptionalGeoSearch
radius(double radius, GeoUnit geoUnit)
Defines search within radius
-
-
-
Method Detail
-
box
OptionalGeoSearch box(double width, double height, GeoUnit geoUnit)
Defines search within boxRequires Redis 6.2.0 and higher.
- Parameters:
width
- - box widthheight
- - box heightgeoUnit
- - geo unit- Returns:
- search conditions object
-
radius
OptionalGeoSearch radius(double radius, GeoUnit geoUnit)
Defines search within radius- Parameters:
radius
- - radius in geo unitsgeoUnit
- - geo unit- Returns:
- search conditions object
-
-