Interface CommandCommands


public interface CommandCommands
  • Method Details

    • commandCount

      long commandCount()
      The number of total commands in this Redis server
      Returns:
      The number of total commands
    • commandDocs

      Map<String,CommandDocument> commandDocs(String... commands)
      Return documentary information about commands. If not specifying commands, the reply includes all the server's commands.
      Parameters:
      commands - specify the names of one or more commands
      Returns:
      list of CommandDocument
    • commandGetKeys

      List<String> commandGetKeys(String... command)
      Return list of keys from a full Redis command
      Parameters:
      command -
      Returns:
      list of keys
    • commandGetKeysAndFlags

      List<KeyValue<String,List<String>>> commandGetKeysAndFlags(String... command)
      Return list of keys from a full Redis command and their usage flags
      Parameters:
      command -
      Returns:
      list of KeyValue
    • commandInfo

      Map<String,CommandInfo> commandInfo(String... commands)
      Return details about multiple Redis commands
      Parameters:
      commands -
      Returns:
      list of CommandInfo
    • commandList

      List<String> commandList()
      Return a list of the server's command names
      Returns:
      commands list
    • commandListFilterBy

      List<String> commandListFilterBy(CommandListFilterByParams filterByParams)
      Return a list of the server's command names filtered by module's name, ACL category or pattern
      Parameters:
      filterByParams - CommandListFilterByParams
      Returns:
      commands list