@@ -2399,24 +2399,24 @@ public final CommandObject<List<StreamEntry>> xrevrange(String key, String end,
23992399 return new CommandObject <>(commandArguments (XREVRANGE ).key (key ).add (end ).add (start ).add (COUNT ).add (count ), BuilderFactory .STREAM_ENTRY_LIST );
24002400 }
24012401
2402- public final CommandObject <List <byte [] >> xrange (byte [] key , byte [] start , byte [] end ) {
2402+ public final CommandObject <List <Object >> xrange (byte [] key , byte [] start , byte [] end ) {
24032403 return new CommandObject <>(commandArguments (XRANGE ).key (key ).add (start == null ? "-" : start ).add (end == null ? "+" : end ),
2404- BuilderFactory .BINARY_LIST );
2404+ BuilderFactory .RAW_OBJECT_LIST );
24052405 }
24062406
2407- public final CommandObject <List <byte [] >> xrange (byte [] key , byte [] start , byte [] end , int count ) {
2407+ public final CommandObject <List <Object >> xrange (byte [] key , byte [] start , byte [] end , int count ) {
24082408 return new CommandObject <>(commandArguments (XRANGE ).key (key ).add (start == null ? "-" : start ).add (end == null ? "+" : end )
2409- .add (COUNT ).add (count ), BuilderFactory .BINARY_LIST );
2409+ .add (COUNT ).add (count ), BuilderFactory .RAW_OBJECT_LIST );
24102410 }
24112411
2412- public final CommandObject <List <byte [] >> xrevrange (byte [] key , byte [] end , byte [] start ) {
2412+ public final CommandObject <List <Object >> xrevrange (byte [] key , byte [] end , byte [] start ) {
24132413 return new CommandObject <>(commandArguments (XREVRANGE ).key (key ).add (end == null ? "+" : end ).add (start == null ? "-" : start ),
2414- BuilderFactory .BINARY_LIST );
2414+ BuilderFactory .RAW_OBJECT_LIST );
24152415 }
24162416
2417- public final CommandObject <List <byte [] >> xrevrange (byte [] key , byte [] end , byte [] start , int count ) {
2417+ public final CommandObject <List <Object >> xrevrange (byte [] key , byte [] end , byte [] start , int count ) {
24182418 return new CommandObject <>(commandArguments (XREVRANGE ).key (key ).add (end == null ? "+" : end ).add (start == null ? "-" : start )
2419- .add (COUNT ).add (count ), BuilderFactory .BINARY_LIST );
2419+ .add (COUNT ).add (count ), BuilderFactory .RAW_OBJECT_LIST );
24202420 }
24212421
24222422 public final CommandObject <Long > xack (String key , String group , StreamEntryID ... ids ) {
@@ -2657,18 +2657,18 @@ public final CommandObject<List<Map.Entry<String, List<StreamEntry>>>> xreadGrou
26572657 return new CommandObject <>(args , BuilderFactory .STREAM_READ_RESPONSE );
26582658 }
26592659
2660- public final CommandObject <List <byte [] >> xread (XReadParams xReadParams , Map .Entry <byte [], byte []>... streams ) {
2660+ public final CommandObject <List <Object >> xread (XReadParams xReadParams , Map .Entry <byte [], byte []>... streams ) {
26612661 CommandArguments args = commandArguments (XREAD ).addParams (xReadParams ).add (STREAMS );
26622662 for (Map .Entry <byte [], byte []> entry : streams ) {
26632663 args .key (entry .getKey ());
26642664 }
26652665 for (Map .Entry <byte [], byte []> entry : streams ) {
26662666 args .add (entry .getValue ());
26672667 }
2668- return new CommandObject <>(args , BuilderFactory .BINARY_LIST );
2668+ return new CommandObject <>(args , BuilderFactory .RAW_OBJECT_LIST );
26692669 }
26702670
2671- public final CommandObject <List <byte [] >> xreadGroup (byte [] groupName , byte [] consumer ,
2671+ public final CommandObject <List <Object >> xreadGroup (byte [] groupName , byte [] consumer ,
26722672 XReadGroupParams xReadGroupParams , Map .Entry <byte [], byte []>... streams ) {
26732673 CommandArguments args = commandArguments (XREADGROUP )
26742674 .add (GROUP ).add (groupName ).add (consumer )
@@ -2679,7 +2679,7 @@ public final CommandObject<List<byte[]>> xreadGroup(byte[] groupName, byte[] con
26792679 for (Map .Entry <byte [], byte []> entry : streams ) {
26802680 args .add (entry .getValue ());
26812681 }
2682- return new CommandObject <>(args , BuilderFactory .BINARY_LIST );
2682+ return new CommandObject <>(args , BuilderFactory .RAW_OBJECT_LIST );
26832683 }
26842684 // Stream commands
26852685
0 commit comments