Class GeoSearchOptions
java.lang.Object
org.infinispan.server.resp.commands.geo.GeoSearchOptions
Options for GEOSEARCH and related commands.
- Since:
- 16.2
-
Constructor Details
-
GeoSearchOptions
public GeoSearchOptions()
-
-
Method Details
-
getFromMember
public byte[] getFromMember() -
getLongitude
-
getLatitude
-
isByRadius
public boolean isByRadius() -
isByBox
public boolean isByBox() -
getRadius
-
getWidth
-
getHeight
-
getUnit
-
isWithCoord
public boolean isWithCoord() -
isWithDist
public boolean isWithDist() -
isWithHash
public boolean isWithHash() -
getCount
-
isAny
public boolean isAny() -
isAsc
public boolean isAsc() -
hasCenter
public boolean hasCenter() -
hasShape
public boolean hasShape() -
parse
Parse GEOSEARCH options from arguments.- Parameters:
arguments- the command argumentsstartIndex- index to start parsing from- Returns:
- GeoSearchOptions instance
-