Package io.lettuce.core
Class GeoArgs.Builder
- java.lang.Object
-
- io.lettuce.core.GeoArgs.Builder
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeoArgs
coordinates()
Creates newGeoArgs
with WITHCOORD enabled.static GeoArgs
count(long count)
Creates newGeoArgs
with COUNT set.static GeoArgs
distance()
Creates newGeoArgs
with WITHDIST enabled.static GeoArgs
full()
Creates newGeoArgs
with distance, coordinates and hash enabled.static GeoArgs
hash()
Creates newGeoArgs
with WITHHASH enabled.
-
-
-
Method Detail
-
distance
public static GeoArgs distance()
Creates newGeoArgs
with WITHDIST enabled.- Returns:
- new
GeoArgs
with WITHDIST enabled. - See Also:
GeoArgs.withDistance()
-
coordinates
public static GeoArgs coordinates()
Creates newGeoArgs
with WITHCOORD enabled.- Returns:
- new
GeoArgs
with WITHCOORD enabled. - See Also:
GeoArgs.withCoordinates()
-
hash
public static GeoArgs hash()
Creates newGeoArgs
with WITHHASH enabled.- Returns:
- new
GeoArgs
with WITHHASH enabled. - See Also:
GeoArgs.withHash()
-
full
public static GeoArgs full()
Creates newGeoArgs
with distance, coordinates and hash enabled.- Returns:
- new
GeoArgs
with WITHDIST, WITHCOORD, WITHHASH enabled. - See Also:
GeoArgs.withDistance()
,GeoArgs.withCoordinates()
,GeoArgs.withHash()
-
count
public static GeoArgs count(long count)
Creates newGeoArgs
with COUNT set.- Parameters:
count
- number greater 0.- Returns:
- new
GeoArgs
with COUNT set. - See Also:
GeoArgs.withCount(long)
-
-