Package io.quarkus.redis.datasource.geo
Class GeoAddArgs
- java.lang.Object
-
- io.quarkus.redis.datasource.geo.GeoAddArgs
-
- All Implemented Interfaces:
RedisCommandExtraArguments
public class GeoAddArgs extends Object implements RedisCommandExtraArguments
-
-
Constructor Summary
Constructors Constructor Description GeoAddArgs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoAddArgs
ch()
Modify the return value from the number of new elements added, to the total number of elements changed.GeoAddArgs
nx()
Don't update already existing elements.List<String>
toArgs()
GeoAddArgs
xx()
Only update elements that already exist.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.redis.datasource.RedisCommandExtraArguments
toArgs
-
-
-
-
Method Detail
-
nx
public GeoAddArgs nx()
Don't update already existing elements. Always add new elements.- Returns:
- the current
GeoaddArgs
-
xx
public GeoAddArgs xx()
Only update elements that already exist. Never add elements.- Returns:
- the current
GeoaddArgs
-
ch
public GeoAddArgs ch()
Modify the return value from the number of new elements added, to the total number of elements changed. (CH is an abbreviation of changed).- Returns:
- the current
GeoaddArgs
-
toArgs
public List<String> toArgs()
- Specified by:
toArgs
in interfaceRedisCommandExtraArguments
- Returns:
- the list of arguments, encoded as a list of String.
-
-