Class GeoAddParams

java.lang.Object
redis.clients.jedis.params.GeoAddParams
All Implemented Interfaces:
IParams

public class GeoAddParams extends Object implements IParams
  • Field Details

    • nx

      private boolean nx
    • xx

      private boolean xx
    • ch

      private boolean ch
  • Constructor Details

    • GeoAddParams

      public GeoAddParams()
  • Method Details

    • geoAddParams

      public static GeoAddParams geoAddParams()
    • nx

      public GeoAddParams nx()
      Don't update already existing elements. Always add new elements.
      Returns:
      GetExParams
    • xx

      public GeoAddParams xx()
      Only update elements that already exist. Never add elements.
      Returns:
      GetExParams
    • ch

      public GeoAddParams ch()
      Modify the return value from the number of new elements added, to the total number of elements changed
      Returns:
      GetExParams
    • addParams

      public void addParams(CommandArguments args)
      Specified by:
      addParams in interface IParams