Class ZAddParams


  • public class ZAddParams
    extends Params
    • Constructor Detail

      • ZAddParams

        public ZAddParams()
    • Method Detail

      • 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
      • getByteParams

        public byte[][] getByteParams​(byte[] key,
                                      byte[]... args)