Package redis.clients.jedis.commands
Interface CommandCommands
public interface CommandCommands
-
Method Summary
Modifier and TypeMethodDescriptionlongThe number of total commands in this Redis servercommandDocs(String... commands) Return documentary information about commands.commandGetKeys(String... command) Return list of keys from a full Redis commandcommandGetKeysAndFlags(String... command) Return list of keys from a full Redis command and their usage flagscommandInfo(String... commands) Return details about multiple Redis commandsReturn a list of the server's command namescommandListFilterBy(CommandListFilterByParams filterByParams) Return a list of the server's command names filtered by module's name, ACL category or pattern
-
Method Details
-
commandCount
long commandCount()The number of total commands in this Redis server- Returns:
- The number of total commands
-
commandDocs
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
Return list of keys from a full Redis command- Parameters:
command-- Returns:
- list of keys
-
commandGetKeysAndFlags
Return list of keys from a full Redis command and their usage flags- Parameters:
command-- Returns:
- list of
KeyValue
-
commandInfo
Return details about multiple Redis commands- Parameters:
commands-- Returns:
- list of
CommandInfo
-
commandList
Return a list of the server's command names- Returns:
- commands list
-
commandListFilterBy
Return a list of the server's command names filtered by module's name, ACL category or pattern- Parameters:
filterByParams-CommandListFilterByParams- Returns:
- commands list
-