public static class ReactiveHashCommands.HSetCommand extends ReactiveRedisConnection.KeyCommand
Modifier and Type | Method and Description |
---|---|
static ReactiveHashCommands.HSetCommand |
fieldValues(Map<ByteBuffer,ByteBuffer> fieldValueMap)
Creates a new
ReactiveHashCommands.HSetCommand given a Map of field values. |
ReactiveHashCommands.HSetCommand |
forKey(ByteBuffer key)
Applies the key.
|
Map<ByteBuffer,ByteBuffer> |
getFieldValueMap() |
ReactiveHashCommands.HSetCommand |
ifValueNotExists()
Disable upsert.
|
boolean |
isUpsert() |
ReactiveHashCommands.HSetCommand |
ofField(ByteBuffer field)
Applies a field.
|
static ReactiveHashCommands.HSetCommand |
value(ByteBuffer value)
Creates a new
ReactiveHashCommands.HSetCommand given a key . |
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static ReactiveHashCommands.HSetCommand value(ByteBuffer value)
ReactiveHashCommands.HSetCommand
given a key
.value
- must not be null.ReactiveHashCommands.HSetCommand
for key
.public static ReactiveHashCommands.HSetCommand fieldValues(Map<ByteBuffer,ByteBuffer> fieldValueMap)
ReactiveHashCommands.HSetCommand
given a Map
of field values.fieldValueMap
- must not be null.ReactiveHashCommands.HSetCommand
for a Map
of field values.public ReactiveHashCommands.HSetCommand ofField(ByteBuffer field)
field
- must not be null.ReactiveHashCommands.HSetCommand
with field applied.public ReactiveHashCommands.HSetCommand forKey(ByteBuffer key)
key
- must not be null.ReactiveHashCommands.HSetCommand
with key applied.public ReactiveHashCommands.HSetCommand ifValueNotExists()
ReactiveHashCommands.HSetCommand
with upsert disabled.public boolean isUpsert()
public Map<ByteBuffer,ByteBuffer> getFieldValueMap()
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.