| 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 |
|---|---|
SUnionCardArgs |
SUnionCardArgs.approx()
Request an approximate cardinality computed using HyperLogLog instead of the exact cardinality.
|
static SUnionCardArgs |
SUnionCardArgs.Builder.approx()
Creates new
SUnionCardArgs with APPROX set. |
SUnionCardArgs |
SUnionCardArgs.limit(long limit)
Set the maximum cardinality to return.
|
static SUnionCardArgs |
SUnionCardArgs.Builder.limit(long limit)
Creates new
SUnionCardArgs with LIMIT set. |
| Modifier and Type | Method and Description |
|---|---|
RedisFuture<Long> |
AbstractRedisAsyncCommands.sunioncard(K key1,
K key2,
SUnionCardArgs sunionCardArgs) |
reactor.core.publisher.Mono<Long> |
AbstractRedisReactiveCommands.sunioncard(K key1,
K key2,
SUnionCardArgs sunionCardArgs) |
RedisFuture<Long> |
AbstractRedisAsyncCommands.sunioncard(List<K> keys,
SUnionCardArgs sunionCardArgs) |
reactor.core.publisher.Mono<Long> |
AbstractRedisReactiveCommands.sunioncard(List<K> keys,
SUnionCardArgs sunionCardArgs) |
| Modifier and Type | Method and Description |
|---|---|
RedisFuture<Long> |
RedisSetAsyncCommands.sunioncard(K key1,
K key2,
SUnionCardArgs sunionCardArgs)
Compute the number of distinct elements in the union of the sets stored at
key1 and key2 without
returning the union itself, applying SUnionCardArgs. |
RedisFuture<Long> |
RedisSetAsyncCommands.sunioncard(List<K> keys,
SUnionCardArgs sunionCardArgs)
Compute the number of distinct elements in the union of the sets stored at the given keys without returning the union
itself, applying
SUnionCardArgs. |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Long> |
RedisSetReactiveCommands.sunioncard(K key1,
K key2,
SUnionCardArgs sunionCardArgs)
Compute the number of distinct elements in the union of the sets stored at
key1 and key2 without
returning the union itself, applying SUnionCardArgs. |
reactor.core.publisher.Mono<Long> |
RedisSetReactiveCommands.sunioncard(List<K> keys,
SUnionCardArgs sunionCardArgs)
Compute the number of distinct elements in the union of the sets stored at the given keys without returning the union
itself, applying
SUnionCardArgs. |
| Modifier and Type | Method and Description |
|---|---|
Long |
RedisSetCommands.sunioncard(K key1,
K key2,
SUnionCardArgs sunionCardArgs)
Compute the number of distinct elements in the union of the sets stored at
key1 and key2 without
returning the union itself, applying SUnionCardArgs. |
Long |
RedisSetCommands.sunioncard(List<K> keys,
SUnionCardArgs sunionCardArgs)
Compute the number of distinct elements in the union of the sets stored at the given keys without returning the union
itself, applying
SUnionCardArgs. |
| Modifier and Type | Method and Description |
|---|---|
AsyncExecutions<Long> |
NodeSelectionSetAsyncCommands.sunioncard(K key1,
K key2,
SUnionCardArgs sunionCardArgs)
Compute the number of distinct elements in the union of the sets stored at
key1 and key2 without
returning the union itself, applying SUnionCardArgs. |
AsyncExecutions<Long> |
NodeSelectionSetAsyncCommands.sunioncard(List<K> keys,
SUnionCardArgs sunionCardArgs)
Compute the number of distinct elements in the union of the sets stored at the given keys without returning the union
itself, applying
SUnionCardArgs. |
| Modifier and Type | Method and Description |
|---|---|
Executions<Long> |
NodeSelectionSetCommands.sunioncard(K key1,
K key2,
SUnionCardArgs sunionCardArgs)
Compute the number of distinct elements in the union of the sets stored at
key1 and key2 without
returning the union itself, applying SUnionCardArgs. |
Executions<Long> |
NodeSelectionSetCommands.sunioncard(List<K> keys,
SUnionCardArgs sunionCardArgs)
Compute the number of distinct elements in the union of the sets stored at the given keys without returning the union
itself, applying
SUnionCardArgs. |
Copyright © 2026 lettuce.io. All rights reserved.