Class ReactiveHashCommands.HGetCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveHashCommands.HashFieldsCommand
org.springframework.data.redis.connection.ReactiveHashCommands.HGetCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
ReactiveHashCommands
- Since:
- 2.0
- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfield(ByteBuffer field) Creates a newReactiveHashCommands.HGetCommandgiven afield name.fields(Collection<ByteBuffer> fields) Creates a newReactiveHashCommands.HGetCommandgiven aCollectionof field names.from(ByteBuffer key) Applies the hash key.Methods inherited from class ReactiveHashCommands.HashFieldsCommand
getFieldsMethods 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
-
field
Creates a newReactiveHashCommands.HGetCommandgiven afield name.- Parameters:
field- must not be null.- Returns:
- a new
ReactiveHashCommands.HGetCommandfor afield name.
-
fields
Creates a newReactiveHashCommands.HGetCommandgiven aCollectionof field names.- Parameters:
fields- must not be null.- Returns:
- a new
ReactiveHashCommands.HGetCommandfor aCollectionof 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.HGetCommandwith key applied.
-