SDK Java v2.x

# hvals

Returns all values contained in a hash.

[Redis documentation]

# hvals(key, [options], callback)

Arguments Type Description
key string Key identifier
options JSON Object Optional parameters
callback function Callback

# Options

Option Type Description Default
queuable boolean Make this request queuable or not true

# Callback Response

Returns an array containing the values of a hash.

# Usage

Copied to clipboard!
kuzzle.memoryStorage.hvals("key", new ResponseListener<String[]>() {
  public void onSuccess(String[] values) {
    // callback called once the action has completed
  public void onError(JSONObject error) {

Callback response:

Copied to clipboard!
["field1's value", "field2's value", "..."]