Interface ShapeGeoSearch


  • public interface ShapeGeoSearch
    Arguments object for RGeo search method.
    Author:
    Nikita Koksharov
    • Method Detail

      • box

        OptionalGeoSearch box(double width,
                              double height,
                              GeoUnit geoUnit)
        Defines search within box

        Requires Redis 6.2.0 and higher.

        Parameters:
        width - - box width
        height - - box height
        geoUnit - - geo unit
        Returns:
        search conditions object
      • radius

        OptionalGeoSearch radius(double radius,
                                 GeoUnit geoUnit)
        Defines search within radius
        Parameters:
        radius - - radius in geo units
        geoUnit - - geo unit
        Returns:
        search conditions object