Package | Description |
---|---|
io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
io.lettuce.core.api.async |
Standalone Redis API for asynchronous executed commands.
|
io.lettuce.core.api.reactive |
Standalone Redis API for reactive command execution.
|
io.lettuce.core.api.sync |
Standalone Redis API for synchronous executed commands.
|
io.lettuce.core.cluster.api.async |
Redis Cluster API for asynchronous executed commands.
|
io.lettuce.core.cluster.api.sync |
Redis Cluster API for synchronous executed commands.
|
Modifier and Type | Method and Description |
---|---|
ZAddArgs |
ZAddArgs.ch()
Modify the return value from the number of new elements added, to the total number of elements changed.
|
static ZAddArgs |
ZAddArgs.Builder.ch()
Creates new
ZAddArgs and enabling CH. |
ZAddArgs |
ZAddArgs.gt()
Only update existing elements if the new score is greater than the current score.
|
static ZAddArgs |
ZAddArgs.Builder.gt()
Creates new
ZAddArgs and enabling GT. |
ZAddArgs |
ZAddArgs.lt()
Only update existing elements if the new score is less than the current score.
|
static ZAddArgs |
ZAddArgs.Builder.lt()
Creates new
ZAddArgs and enabling LT. |
ZAddArgs |
ZAddArgs.nx()
Don't update already existing elements.
|
static ZAddArgs |
ZAddArgs.Builder.nx()
Creates new
ZAddArgs and enabling NX. |
ZAddArgs |
ZAddArgs.xx()
Only update elements that already exist.
|
static ZAddArgs |
ZAddArgs.Builder.xx()
Creates new
ZAddArgs and enabling XX. |
Modifier and Type | Method and Description |
---|---|
RedisFuture<Long> |
AbstractRedisAsyncCommands.zadd(K key,
ZAddArgs zAddArgs,
double score,
V member) |
Mono<Long> |
AbstractRedisReactiveCommands.zadd(K key,
ZAddArgs zAddArgs,
double score,
V member) |
RedisFuture<Long> |
AbstractRedisAsyncCommands.zadd(K key,
ZAddArgs zAddArgs,
Object... scoresAndValues) |
Mono<Long> |
AbstractRedisReactiveCommands.zadd(K key,
ZAddArgs zAddArgs,
Object... scoresAndValues) |
RedisFuture<Long> |
AbstractRedisAsyncCommands.zadd(K key,
ZAddArgs zAddArgs,
ScoredValue<V>... scoredValues) |
Mono<Long> |
AbstractRedisReactiveCommands.zadd(K key,
ZAddArgs zAddArgs,
ScoredValue<V>... scoredValues) |
RedisFuture<Double> |
AbstractRedisAsyncCommands.zaddincr(K key,
ZAddArgs zAddArgs,
double score,
V member) |
Mono<Double> |
AbstractRedisReactiveCommands.zaddincr(K key,
ZAddArgs zAddArgs,
double score,
V member) |
Modifier and Type | Method and Description |
---|---|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zadd(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zadd(K key,
ZAddArgs zAddArgs,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
RedisFuture<Long> |
RedisSortedSetAsyncCommands.zadd(K key,
ZAddArgs zAddArgs,
ScoredValue<V>... scoredValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
RedisFuture<Double> |
RedisSortedSetAsyncCommands.zaddincr(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists applying the
INCR option. |
Modifier and Type | Method and Description |
---|---|
Mono<Long> |
RedisSortedSetReactiveCommands.zadd(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists.
|
Mono<Long> |
RedisSortedSetReactiveCommands.zadd(K key,
ZAddArgs zAddArgs,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Mono<Long> |
RedisSortedSetReactiveCommands.zadd(K key,
ZAddArgs zAddArgs,
ScoredValue<V>... scoredValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Mono<Double> |
RedisSortedSetReactiveCommands.zaddincr(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists applying the
INCR option. |
Modifier and Type | Method and Description |
---|---|
Long |
RedisSortedSetCommands.zadd(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists.
|
Long |
RedisSortedSetCommands.zadd(K key,
ZAddArgs zAddArgs,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Long |
RedisSortedSetCommands.zadd(K key,
ZAddArgs zAddArgs,
ScoredValue<V>... scoredValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Double |
RedisSortedSetCommands.zaddincr(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists applying the
INCR option. |
Modifier and Type | Method and Description |
---|---|
AsyncExecutions<Long> |
NodeSelectionSortedSetAsyncCommands.zadd(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists.
|
AsyncExecutions<Long> |
NodeSelectionSortedSetAsyncCommands.zadd(K key,
ZAddArgs zAddArgs,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
AsyncExecutions<Long> |
NodeSelectionSortedSetAsyncCommands.zadd(K key,
ZAddArgs zAddArgs,
ScoredValue<V>... scoredValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
AsyncExecutions<Double> |
NodeSelectionSortedSetAsyncCommands.zaddincr(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists applying the
INCR option. |
Modifier and Type | Method and Description |
---|---|
Executions<Long> |
NodeSelectionSortedSetCommands.zadd(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists.
|
Executions<Long> |
NodeSelectionSortedSetCommands.zadd(K key,
ZAddArgs zAddArgs,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Executions<Long> |
NodeSelectionSortedSetCommands.zadd(K key,
ZAddArgs zAddArgs,
ScoredValue<V>... scoredValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Executions<Double> |
NodeSelectionSortedSetCommands.zaddincr(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists applying the
INCR option. |
Copyright © 2022 lettuce.io. All rights reserved.