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 thekey
the hash is stored at.getField()
lengthOf
(ByteBuffer field) Specify thefield
within the hash to get the length of thevalue
of.ø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
-
lengthOf
Specify thefield
within the hash to get the length of thevalue
of.ø- Parameters:
field
- must not be null.- Returns:
- new instance of
ReactiveHashCommands.HStrLenCommand
.
-
from
Define thekey
the hash is stored at.- Parameters:
key
- must not be null.- Returns:
- new instance of
ReactiveHashCommands.HStrLenCommand
.
-
getField
- Returns:
- the field.
-