Class ZAddParams

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

public class ZAddParams extends Params implements IParams
  • Field Details

  • Constructor Details

    • ZAddParams

      public ZAddParams()
  • Method Details

    • zAddParams

      public static ZAddParams zAddParams()
    • nx

      public ZAddParams nx()
      Only set the key if it does not already exist.
      Returns:
      ZAddParams
    • xx

      public ZAddParams xx()
      Only set the key if it already exist.
      Returns:
      ZAddParams
    • ch

      public ZAddParams ch()
      Modify the return value from the number of new elements added to the total number of elements changed
      Returns:
      ZAddParams
    • gt

      public ZAddParams gt()
      Only update existing elements if the new score is greater than the current score.
      Returns:
      ZAddParams
    • lt

      public ZAddParams lt()
      Only update existing elements if the new score is less than the current score.
      Returns:
      ZAddParams
    • addParams

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