Class ReactiveHashCommands.HGetCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveHashCommands.HGetCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveHashCommands
- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfield
(ByteBuffer field) Creates a newReactiveHashCommands.HGetCommand
given afield name
.fields
(Collection<ByteBuffer> fields) Creates a newReactiveHashCommands.HGetCommand
given aCollection
of field names.from
(ByteBuffer key) Applies the hash 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
-
field
Creates a newReactiveHashCommands.HGetCommand
given afield name
.- Parameters:
field
- must not be null.- Returns:
- a new
ReactiveHashCommands.HGetCommand
for afield name
.
-
fields
Creates a newReactiveHashCommands.HGetCommand
given aCollection
of field names.- Parameters:
fields
- must not be null.- Returns:
- a new
ReactiveHashCommands.HGetCommand
for aCollection
of field names.
-
from
Applies the hash key. Constructs a new command instance with all previously configured properties.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveHashCommands.HGetCommand
with key applied.
-
getFields
- Returns:
- never null.
-