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.- Since:
- 2.0
- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()indexOf(ByteBuffer member) Creates a newReactiveZSetCommands.ZRankCommandgiven amemberto obtain its rank (ordering low to high).reverseIndexOf(ByteBuffer member) Creates a newReactiveZSetCommands.ZIncrByCommandgiven amemberto obtain its reversed rank (ordering high to low).storedWithin(ByteBuffer key) Applies the key.Methods inherited from class ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReactiveRedisConnection.Command
getName
-
Method Details
-
indexOf
Creates a newReactiveZSetCommands.ZRankCommandgiven amemberto obtain its rank (ordering low to high).- Parameters:
member- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRankCommandforTuple.
-
reverseIndexOf
Creates a newReactiveZSetCommands.ZIncrByCommandgiven amemberto obtain its reversed rank (ordering high to low).- Parameters:
member- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRankCommandforTuple.
-
storedWithin
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRankCommandwith key applied.
-
getValue
- Returns:
-
getDirection
- Returns:
-