Class ReactiveHashCommands.HSetCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveHashCommands.HSetCommand
- All Implemented Interfaces:
- ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveHashCommands
- Author:
- Christoph Strobl
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionfieldValues(Map<ByteBuffer, ByteBuffer> fieldValueMap) Creates a newReactiveHashCommands.HSetCommandgiven aMapof field values.forKey(ByteBuffer key) Applies the key.Disable upsert.booleanisUpsert()ofField(ByteBuffer field) Applies a field.value(ByteBuffer value) Creates a newReactiveHashCommands.HSetCommandgiven akey.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommandgetKeyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.CommandgetName
- 
Method Details- 
valueCreates a newReactiveHashCommands.HSetCommandgiven akey.- Parameters:
- value- must not be null.
- Returns:
- a new ReactiveHashCommands.HSetCommandforkey.
 
- 
fieldValuespublic static ReactiveHashCommands.HSetCommand fieldValues(Map<ByteBuffer, ByteBuffer> fieldValueMap) Creates a newReactiveHashCommands.HSetCommandgiven aMapof field values.- Parameters:
- fieldValueMap- must not be null.
- Returns:
- a new ReactiveHashCommands.HSetCommandfor aMapof field values.
 
- 
ofFieldApplies a field. Constructs a new command instance with all previously configured properties.- Parameters:
- field- must not be null.
- Returns:
- a new ReactiveHashCommands.HSetCommandwith field applied.
 
- 
forKeyApplies the key. Constructs a new command instance with all previously configured properties.- Parameters:
- key- must not be null.
- Returns:
- a new ReactiveHashCommands.HSetCommandwith key applied.
 
- 
ifValueNotExistsDisable upsert. Constructs a new command instance with all previously configured properties.- Returns:
- a new ReactiveHashCommands.HSetCommandwith upsert disabled.
 
- 
isUpsertpublic boolean isUpsert()- Returns:
 
- 
getFieldValueMap- Returns:
- never null.
 
 
-