java.lang.Object
io.lettuce.core.GeoArgs.Builder
- Enclosing class:
- GeoArgs
public static class GeoArgs.Builder extends Object
Builder entry points for
GeoArgs.-
Method Summary
Modifier and Type Method Description static GeoArgscoordinates()Creates newGeoArgswith WITHCOORD enabled.static GeoArgscount(long count)Creates newGeoArgswith COUNT set.static GeoArgsdistance()Creates newGeoArgswith WITHDIST enabled.static GeoArgsfull()Creates newGeoArgswith distance, coordinates and hash enabled.static GeoArgshash()Creates newGeoArgswith WITHHASH enabled.
-
Method Details
-
distance
Creates newGeoArgswith WITHDIST enabled.- Returns:
- new
GeoArgswith WITHDIST enabled. - See Also:
GeoArgs.withDistance()
-
coordinates
Creates newGeoArgswith WITHCOORD enabled.- Returns:
- new
GeoArgswith WITHCOORD enabled. - See Also:
GeoArgs.withCoordinates()
-
hash
Creates newGeoArgswith WITHHASH enabled.- Returns:
- new
GeoArgswith WITHHASH enabled. - See Also:
GeoArgs.withHash()
-
full
Creates newGeoArgswith distance, coordinates and hash enabled.- Returns:
- new
GeoArgswith WITHDIST, WITHCOORD, WITHHASH enabled. - See Also:
GeoArgs.withDistance(),GeoArgs.withCoordinates(),GeoArgs.withHash()
-
count
Creates newGeoArgswith COUNT set.- Parameters:
count- number greater 0.- Returns:
- new
GeoArgswith COUNT set. - See Also:
GeoArgs.withCount(long)
-