Class ZRANGE
java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.sortedset.ZRANGE
- All Implemented Interfaces:
Resp3Command
- Direct Known Subclasses:
ZRANGEBYLEX,ZRANGEBYSCORE,ZRANGESTORE,ZREVRANGE,ZREVRANGEBYLEX,ZREVRANGEBYSCORE
Returns the specified range of elements in the sorted set stored at .
ZRANGE can perform different types of range queries: by index (rank), by the score,or by lexicographical order.
Starting with Redis 6.2.0, this command can replace the following commands:
- Since:
- 15.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.infinispan.server.resp.RespCommand
log -
Constructor Summary
ConstructorsModifierConstructorDescriptionZRANGE()protectedZRANGE(int arity) protectedZRANGE(int arity, Set<ZRANGE.Arg> args) protectedZRANGE(Set<ZRANGE.Arg> args) -
Method Summary
Modifier and TypeMethodDescriptionperform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) Methods inherited from class org.infinispan.server.resp.RespCommand
extractKeys, fromByteBuf, getArity, getFirstKeyPos, getLastKeyPos, getName, getSteps, handleException, hasValidNumberOfArguments, match, size, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.server.resp.commands.Resp3Command
handleException
-
Constructor Details
-
ZRANGE
public ZRANGE() -
ZRANGE
-
ZRANGE
-
ZRANGE
protected ZRANGE(int arity)
-
-
Method Details
-
perform
public CompletionStage<RespRequestHandler> perform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) - Specified by:
performin interfaceResp3Command
-