Skip to content

Commit 023397f

Browse files
committed
Commands: HMSET, HMGET
1 parent 436c89e commit 023397f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

driver/src/main/java/jdbc/client/commands/RedisCommands.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ public class RedisCommands {
131131
public static final RedisCommand HINCRBYFLOAT = create(Command.HINCRBYFLOAT);
132132
public static final RedisCommand HKEYS = create(Command.HKEYS);
133133
public static final RedisCommand HLEN = create(Command.HLEN);
134+
public static final RedisCommand HMGET = create(Command.HMGET);
135+
public static final RedisCommand HMSET = create(Command.HMSET);
134136
public static final RedisCommand HRANDFIELD = create(Command.HRANDFIELD);
135137
public static final RedisCommand HSCAN = create(Command.HSCAN);
136138
public static final RedisCommand HSET = create(Command.HSET);

driver/src/main/java/jdbc/client/result/parser/ResultParsers.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ private ResultParsers() {
140140
CRP_MAP.put(RedisCommands.HINCRBYFLOAT, DOUBLE);
141141
CRP_MAP.put(RedisCommands.HKEYS, STRING);
142142
CRP_MAP.put(RedisCommands.HLEN, LONG);
143+
CRP_MAP.put(RedisCommands.HMGET, STRING);
144+
CRP_MAP.put(RedisCommands.HMSET, STRING);
143145
CRP_MAP.put(RedisCommands.HRANDFIELD, STRING, wrap(STRING_MAP, contains(Keyword.WITHVALUES)));
144146
CRP_MAP.put(RedisCommands.HSCAN, ENTRY_SCAN_RESULT);
145147
CRP_MAP.put(RedisCommands.HSET, LONG);

0 commit comments

Comments
 (0)