Package io.lettuce.core
Class GeoRadiusStoreArgs.Builder
- java.lang.Object
-
- io.lettuce.core.GeoRadiusStoreArgs.Builder
-
- Enclosing class:
- GeoRadiusStoreArgs<K>
public static class GeoRadiusStoreArgs.Builder extends Object
Builder entry points forGeoRadiusStoreArgs
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <K> GeoRadiusStoreArgs
count(long count)
Creates newGeoRadiusStoreArgs
with COUNT set.static <K> GeoRadiusStoreArgs
store(K key)
Creates newGeoRadiusStoreArgs
with STORE enabled.static <K> GeoRadiusStoreArgs
withStoreDist(K key)
Creates newGeoRadiusStoreArgs
with STOREDIST enabled.
-
-
-
Method Detail
-
store
public static <K> GeoRadiusStoreArgs store(K key)
Creates newGeoRadiusStoreArgs
with STORE enabled.- Parameters:
key
- must not benull
.- Returns:
- new
GeoRadiusStoreArgs
with STORE enabled. - See Also:
GeoRadiusStoreArgs.withStore(Object)
-
withStoreDist
public static <K> GeoRadiusStoreArgs withStoreDist(K key)
Creates newGeoRadiusStoreArgs
with STOREDIST enabled.- Parameters:
key
- must not benull
.- Returns:
- new
GeoRadiusStoreArgs
with STOREDIST enabled. - See Also:
GeoRadiusStoreArgs.withStoreDist(Object)
-
count
public static <K> GeoRadiusStoreArgs count(long count)
Creates newGeoRadiusStoreArgs
with COUNT set.- Parameters:
count
- number greater 0.- Returns:
- new
GeoRadiusStoreArgs
with COUNT set. - See Also:
GeoRadiusStoreArgs.withStoreDist(Object)
-
-