Class ReactiveZSetCommands.ZRankCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveZSetCommands.ZRankCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveZSetCommands
ZRANK
/ZREVRANK command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Sort.Direction
getValue()
indexOf
(ByteBuffer member) Creates a newReactiveZSetCommands.ZRankCommand
given amember
to obtain its rank (ordering low to high).reverseIndexOf
(ByteBuffer member) Creates a newReactiveZSetCommands.ZIncrByCommand
given amember
to obtain its reversed rank (ordering high to low).storedWithin
(ByteBuffer key) Applies the key.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
indexOf
Creates a newReactiveZSetCommands.ZRankCommand
given amember
to obtain its rank (ordering low to high).- Parameters:
member
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRankCommand
forTuple
.
-
reverseIndexOf
Creates a newReactiveZSetCommands.ZIncrByCommand
given amember
to obtain its reversed rank (ordering high to low).- Parameters:
member
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRankCommand
forTuple
.
-
storedWithin
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRankCommand
with key applied.
-
getValue
- Returns:
-
getDirection
public org.springframework.data.domain.Sort.Direction getDirection()- Returns:
-