Package org.redisson.api.geo
Interface OptionalGeoSearch
-
- All Superinterfaces:
GeoSearchArgs
public interface OptionalGeoSearch extends GeoSearchArgs
Arguments object for RGeo search method.- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OptionalGeoSearch
count(int value)
Defines limit of search resultOptionalGeoSearch
countAny(int value)
Defines limit of search result.OptionalGeoSearch
order(GeoOrder geoOrder)
Defines order of search result
-
-
-
Method Detail
-
count
OptionalGeoSearch count(int value)
Defines limit of search result- Parameters:
value
- - result limit- Returns:
- search conditions object
-
countAny
OptionalGeoSearch countAny(int value)
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.- Parameters:
value
- - result limit- Returns:
- search conditions object
-
order
OptionalGeoSearch order(GeoOrder geoOrder)
Defines order of search result- Parameters:
geoOrder
- - result order- Returns:
- search conditions object
-
-