public static class ReactiveZSetCommands.ZAddCommand extends ReactiveRedisConnection.KeyCommand
ZADD command parameters.| Modifier and Type | Method and Description |
|---|---|
ReactiveZSetCommands.ZAddCommand |
ch()
Applies ch mode (Modify the return value from the number of new elements added, to the total number of
elements changed).
|
List<RedisZSetCommands.Tuple> |
getTuples() |
ReactiveZSetCommands.ZAddCommand |
incr()
Applies incr mode (When this option is specified ZADD acts like ZINCRBY).
|
boolean |
isIncr() |
boolean |
isReturnTotalChanged() |
boolean |
isUpsert() |
ReactiveZSetCommands.ZAddCommand |
nx()
Applies nx mode (Don't update already existing elements.
|
ReactiveZSetCommands.ZAddCommand |
to(ByteBuffer key)
Applies the key.
|
static ReactiveZSetCommands.ZAddCommand |
tuple(RedisZSetCommands.Tuple tuple)
Creates a new
ReactiveZSetCommands.ZAddCommand given a RedisZSetCommands.Tuple. |
static ReactiveZSetCommands.ZAddCommand |
tuples(Collection<? extends RedisZSetCommands.Tuple> tuples)
|
ReactiveZSetCommands.ZAddCommand |
xx()
Applies xx mode (Only update elements that already exist.
|
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveZSetCommands.ZAddCommand tuple(RedisZSetCommands.Tuple tuple)
ReactiveZSetCommands.ZAddCommand given a RedisZSetCommands.Tuple.tuple - must not be null.ReactiveZSetCommands.ZAddCommand for RedisZSetCommands.Tuple.public static ReactiveZSetCommands.ZAddCommand tuples(Collection<? extends RedisZSetCommands.Tuple> tuples)
tuples - must not be null.ReactiveZSetCommands.ZAddCommand for RedisZSetCommands.Tuple.public ReactiveZSetCommands.ZAddCommand to(ByteBuffer key)
key - must not be null.ReactiveZSetCommands.ZAddCommand with key applied.public ReactiveZSetCommands.ZAddCommand xx()
ReactiveZSetCommands.ZAddCommand with xx applied.public ReactiveZSetCommands.ZAddCommand nx()
ReactiveZSetCommands.ZAddCommand with nx applied.public ReactiveZSetCommands.ZAddCommand ch()
ReactiveZSetCommands.ZAddCommand with ch applied.public ReactiveZSetCommands.ZAddCommand incr()
ReactiveZSetCommands.ZAddCommand with incr applied.public List<RedisZSetCommands.Tuple> getTuples()
public boolean isUpsert()
public boolean isIncr()
public boolean isReturnTotalChanged()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.