Class GeoAddArgs

java.lang.Object
io.quarkus.redis.datasource.geo.GeoAddArgs
All Implemented Interfaces:
RedisCommandExtraArguments

public class GeoAddArgs extends Object implements RedisCommandExtraArguments
  • Constructor Details

    • GeoAddArgs

      public GeoAddArgs()
  • Method Details

    • 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<Object> toArgs()
      Specified by:
      toArgs in interface RedisCommandExtraArguments
      Returns:
      the list of arguments.