Class GeoSearchOptions

java.lang.Object
org.infinispan.server.resp.commands.geo.GeoSearchOptions

public class GeoSearchOptions extends Object
Options for GEOSEARCH and related commands.
Since:
16.2
  • Constructor Details

    • GeoSearchOptions

      public GeoSearchOptions()
  • Method Details

    • getFromMember

      public byte[] getFromMember()
    • getLongitude

      public Double getLongitude()
    • getLatitude

      public Double getLatitude()
    • isByRadius

      public boolean isByRadius()
    • isByBox

      public boolean isByBox()
    • getRadius

      public Double getRadius()
    • getWidth

      public Double getWidth()
    • getHeight

      public Double getHeight()
    • getUnit

      public GeoUnit getUnit()
    • isWithCoord

      public boolean isWithCoord()
    • isWithDist

      public boolean isWithDist()
    • isWithHash

      public boolean isWithHash()
    • getCount

      public Long getCount()
    • isAny

      public boolean isAny()
    • isAsc

      public boolean isAsc()
    • hasCenter

      public boolean hasCenter()
    • hasShape

      public boolean hasShape()
    • parse

      public static GeoSearchOptions parse(List<byte[]> arguments, int startIndex)
      Parse GEOSEARCH options from arguments.
      Parameters:
      arguments - the command arguments
      startIndex - index to start parsing from
      Returns:
      GeoSearchOptions instance