java.lang.Object
io.lettuce.core.models.command.CommandDetailParser
public class CommandDetailParser extends Object
Parser for Redis
COMMAND/COMMAND INFO
output.
- Since:
- 3.0
- Author:
- Mark Paluch, Mikhael Sokolov
-
Field Summary
Fields Modifier and Type Field Description protected static Map<String,AclCategory>ACL_CATEGORY_MAPPINGstatic intCOMMAND_INFO_SIZENumber of array elements for a specific command.protected static Map<String,CommandDetail.Flag>FLAG_MAPPING -
Method Summary
Modifier and Type Method Description static List<CommandDetail>parse(List<?> commandOutput)Parse the output of the Redis COMMAND/COMMAND INFO command and convert to a list ofCommandDetail.
-
Field Details
-
COMMAND_INFO_SIZE
public static final int COMMAND_INFO_SIZENumber of array elements for a specific command.- See Also:
- Constant Field Values
-
FLAG_MAPPING
-
ACL_CATEGORY_MAPPING
-
-
Method Details
-
parse
Parse the output of the Redis COMMAND/COMMAND INFO command and convert to a list ofCommandDetail.- Parameters:
commandOutput- the command output, must not benull- Returns:
- RedisInstance
-