Class RadiusShape

java.lang.Object
org.springframework.data.redis.domain.geo.RadiusShape
All Implemented Interfaces:
Serializable, Shape, GeoShape

public class RadiusShape extends Object implements GeoShape
Radius defined by Distance.
Since:
2.6
Author:
Mark Paluch
See Also:
  • Constructor Details

    • RadiusShape

      public RadiusShape(Distance radius)
  • Method Details

    • getRadius

      public Distance getRadius()
    • getMetric

      public Metric getMetric()
      Description copied from interface: GeoShape
      The metric used for this geo predicate.
      Specified by:
      getMetric in interface GeoShape
      Returns: