Class HSetCommand

    • Constructor Detail

      • HSetCommand

        public HSetCommand()
      • HSetCommand

        public HSetCommand​(byte[] key,
                           byte[] field,
                           byte[] value)
      • HSetCommand

        public HSetCommand​(byte[] key,
                           Map<byte[],​byte[]> fields)
    • Method Detail

      • getField

        @Deprecated
        public byte[] getField()
        Deprecated.
        Use getFields() instead. will remove this method in 4.0.0
        Returns:
        field
      • setField

        @Deprecated
        public void setField​(byte[] field)
        Deprecated.
        Use setFields(Map) instead. will remove this method in 4.0.0
        Parameters:
        field - field
      • getValue

        @Deprecated
        public byte[] getValue()
        Deprecated.
        Use getFields() instead. will remove this method in 4.0.0
        Returns:
        value
      • setValue

        @Deprecated
        public void setValue​(byte[] value)
        Deprecated.
        Use setFields(Map) instead. will remove this method in 4.0.0
        Parameters:
        value - value
      • getFields

        public Map<byte[],​byte[]> getFields()
      • setFields

        public void setFields​(Map<byte[],​byte[]> fields)