Saturday, 18 April 2015

Redis hashes operations


Redis hash is similar to HashMap in Java. Redis provides number of commands to provide operations on hashes.

       Sets field in the key to given value
      Sets the number of fields to specific value at a time.
       Gets the value of the field stored at key.
       Returns the values associated with the fields for given hash key
       Check for existence of the field
       Returns all the fields and values stored at this key
       Removes specified fields from the hash key
       Returns the number of fields stored at key
       Returns all values stored at key
       Increment the value of the field with “increment” value
       Increment the value of the field with “increment” value
       Sets the value to the field, if field doesn't exist
       Returns the string length of the value associated with this key

Prevoius                                                 Next                                                 Home

No comments:

Post a Comment