Class ReactiveHashCommands.HStrLenCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveHashCommands.HStrLenCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
ReactiveHashCommands
- Since:
- 2.1
- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfrom(ByteBuffer key) Define thekeythe hash is stored at.getField()lengthOf(ByteBuffer field) Specify thefieldwithin the hash to get the length of thevalueof.ø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
-
lengthOf
Specify thefieldwithin the hash to get the length of thevalueof.ø- Parameters:
field- must not be null.- Returns:
- new instance of
ReactiveHashCommands.HStrLenCommand.
-
from
Define thekeythe hash is stored at.- Parameters:
key- must not be null.- Returns:
- new instance of
ReactiveHashCommands.HStrLenCommand.
-
getField
- Returns:
- the field.
-