public static class RedisZSetCommands.ZAddArgs extends Object
ZADD
specific arguments. INCR
flag? Use the ZINCRBY
operation instead.Modifier and Type | Class and Description |
---|---|
static class |
RedisZSetCommands.ZAddArgs.Flag |
Modifier and Type | Method and Description |
---|---|
RedisZSetCommands.ZAddArgs |
ch()
Only update elements that already exist.
|
boolean |
contains(RedisZSetCommands.ZAddArgs.Flag flag)
Only update elements that already exist.
|
static RedisZSetCommands.ZAddArgs |
empty() |
boolean |
equals(Object o) |
RedisZSetCommands.ZAddArgs |
gt()
Only update existing elements if the new score is greater than the current score.
|
int |
hashCode() |
static RedisZSetCommands.ZAddArgs |
ifExists() |
static RedisZSetCommands.ZAddArgs |
ifNotExists() |
boolean |
isEmpty() |
RedisZSetCommands.ZAddArgs |
lt()
Only update existing elements if the new score is less than the current score.
|
RedisZSetCommands.ZAddArgs |
nx()
Only update elements that already exist.
|
RedisZSetCommands.ZAddArgs |
xx()
Don't update already existing elements.
|
public static RedisZSetCommands.ZAddArgs empty()
RedisZSetCommands.ZAddArgs
without any flags set.public static RedisZSetCommands.ZAddArgs ifNotExists()
RedisZSetCommands.ZAddArgs
without RedisZSetCommands.ZAddArgs.Flag.NX
set.public static RedisZSetCommands.ZAddArgs ifExists()
RedisZSetCommands.ZAddArgs
without RedisZSetCommands.ZAddArgs.Flag.NX
set.public RedisZSetCommands.ZAddArgs nx()
public RedisZSetCommands.ZAddArgs xx()
public RedisZSetCommands.ZAddArgs lt()
public RedisZSetCommands.ZAddArgs gt()
public RedisZSetCommands.ZAddArgs ch()
public boolean contains(RedisZSetCommands.ZAddArgs.Flag flag)
public boolean isEmpty()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.