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.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 org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.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.
-
getFields
- Returns:
- never null.
-