public static native java.lang.Object executeArray(
    java.lang.String[] command)

Runs a Redis command. It accepts an array of strings, which represents the command to execute.

Parameters

NameTypeDescription
commandarray of stringsA Redis command

Returns

Returns the command result. It could be a string or an array of strings, depending on the command.

Example

GearsBuilder.executeArray(new String[]{"SET", "age:maximum", "100"});