jdeppe-pivotal commented on a change in pull request #7354:
URL: https://github.com/apache/geode/pull/7354#discussion_r804131984



##########
File path: 
geode-for-redis/src/main/java/org/apache/geode/redis/internal/commands/RedisCommandType.java
##########
@@ -477,4 +568,10 @@ public RedisResponse executeCommand(Command command,
 
     return commandExecutor.executeCommand(command, executionHandlerContext);
   }
+
+  public static List<RedisCommandType> getCommandsForCategory(Category type) {
+    return Arrays.stream(RedisCommandType.values())
+        .filter(c -> c.category == type && c.category != Category.IGNORED)

Review comment:
       I had some other use-case in mind. I've replaced `IGNORED` with 
`UNCATEGORIZED` and removed this check.

##########
File path: 
geode-for-redis/src/main/java/org/apache/geode/redis/internal/commands/executor/server/CommandCommandExecutor.java
##########
@@ -39,7 +39,7 @@
  * COMMAND refers to the redis command being implemented.

Review comment:
       Updated.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to