@@ -2402,24 +2402,24 @@ public final CommandObject<List<StreamEntry>> xrevrange(String key, String end,
24022402 return new CommandObject <>(commandArguments (XREVRANGE ).key (key ).add (end ).add (start ).add (COUNT ).add (count ), BuilderFactory .STREAM_ENTRY_LIST );
24032403 }
24042404
2405- public final CommandObject <List <byte [] >> xrange (byte [] key , byte [] start , byte [] end ) {
2405+ public final CommandObject <List <Object >> xrange (byte [] key , byte [] start , byte [] end ) {
24062406 return new CommandObject <>(commandArguments (XRANGE ).key (key ).add (start == null ? "-" : start ).add (end == null ? "+" : end ),
2407- BuilderFactory .BINARY_LIST );
2407+ BuilderFactory .RAW_OBJECT_LIST );
24082408 }
24092409
2410- public final CommandObject <List <byte [] >> xrange (byte [] key , byte [] start , byte [] end , int count ) {
2410+ public final CommandObject <List <Object >> xrange (byte [] key , byte [] start , byte [] end , int count ) {
24112411 return new CommandObject <>(commandArguments (XRANGE ).key (key ).add (start == null ? "-" : start ).add (end == null ? "+" : end )
2412- .add (COUNT ).add (count ), BuilderFactory .BINARY_LIST );
2412+ .add (COUNT ).add (count ), BuilderFactory .RAW_OBJECT_LIST );
24132413 }
24142414
2415- public final CommandObject <List <byte [] >> xrevrange (byte [] key , byte [] end , byte [] start ) {
2415+ public final CommandObject <List <Object >> xrevrange (byte [] key , byte [] end , byte [] start ) {
24162416 return new CommandObject <>(commandArguments (XREVRANGE ).key (key ).add (end == null ? "+" : end ).add (start == null ? "-" : start ),
2417- BuilderFactory .BINARY_LIST );
2417+ BuilderFactory .RAW_OBJECT_LIST );
24182418 }
24192419
2420- public final CommandObject <List <byte [] >> xrevrange (byte [] key , byte [] end , byte [] start , int count ) {
2420+ public final CommandObject <List <Object >> xrevrange (byte [] key , byte [] end , byte [] start , int count ) {
24212421 return new CommandObject <>(commandArguments (XREVRANGE ).key (key ).add (end == null ? "+" : end ).add (start == null ? "-" : start )
2422- .add (COUNT ).add (count ), BuilderFactory .BINARY_LIST );
2422+ .add (COUNT ).add (count ), BuilderFactory .RAW_OBJECT_LIST );
24232423 }
24242424
24252425 public final CommandObject <Long > xack (String key , String group , StreamEntryID ... ids ) {
@@ -2660,18 +2660,18 @@ public final CommandObject<List<Map.Entry<String, List<StreamEntry>>>> xreadGrou
26602660 return new CommandObject <>(args , BuilderFactory .STREAM_READ_RESPONSE );
26612661 }
26622662
2663- public final CommandObject <List <byte [] >> xread (XReadParams xReadParams , Map .Entry <byte [], byte []>... streams ) {
2663+ public final CommandObject <List <Object >> xread (XReadParams xReadParams , Map .Entry <byte [], byte []>... streams ) {
26642664 CommandArguments args = commandArguments (XREAD ).addParams (xReadParams ).add (STREAMS );
26652665 for (Map .Entry <byte [], byte []> entry : streams ) {
26662666 args .key (entry .getKey ());
26672667 }
26682668 for (Map .Entry <byte [], byte []> entry : streams ) {
26692669 args .add (entry .getValue ());
26702670 }
2671- return new CommandObject <>(args , BuilderFactory .BINARY_LIST );
2671+ return new CommandObject <>(args , BuilderFactory .RAW_OBJECT_LIST );
26722672 }
26732673
2674- public final CommandObject <List <byte [] >> xreadGroup (byte [] groupName , byte [] consumer ,
2674+ public final CommandObject <List <Object >> xreadGroup (byte [] groupName , byte [] consumer ,
26752675 XReadGroupParams xReadGroupParams , Map .Entry <byte [], byte []>... streams ) {
26762676 CommandArguments args = commandArguments (XREADGROUP )
26772677 .add (GROUP ).add (groupName ).add (consumer )
@@ -2682,7 +2682,7 @@ public final CommandObject<List<byte[]>> xreadGroup(byte[] groupName, byte[] con
26822682 for (Map .Entry <byte [], byte []> entry : streams ) {
26832683 args .add (entry .getValue ());
26842684 }
2685- return new CommandObject <>(args , BuilderFactory .BINARY_LIST );
2685+ return new CommandObject <>(args , BuilderFactory .RAW_OBJECT_LIST );
26862686 }
26872687 // Stream commands
26882688
0 commit comments