Package | Description |
---|---|
org.springframework.data.redis.core |
Core package for integrating Redis with Spring concepts.
|
org.springframework.data.redis.support.collections |
Package providing implementations for most of the
java.util collections on top of Redis. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultTypedTuple<V>
Default implementation of TypedTuple.
|
Modifier and Type | Method and Description |
---|---|
static <V> ZSetOperations.TypedTuple<V> |
ZSetOperations.TypedTuple.of(V value,
Double score)
Create a new
ZSetOperations.TypedTuple . |
ZSetOperations.TypedTuple<V> |
BoundZSetOperations.popMax()
Remove and return the value with its score having the highest score from sorted set at the bound key.
|
default ZSetOperations.TypedTuple<V> |
BoundZSetOperations.popMax(Duration timeout)
Remove and return the value with its score having the highest score from sorted set at the bound key.
|
ZSetOperations.TypedTuple<V> |
ZSetOperations.popMax(K key)
Remove and return the value with its score having the highest score from sorted set at
key . |
default ZSetOperations.TypedTuple<V> |
ZSetOperations.popMax(K key,
Duration timeout)
Remove and return the value with its score having the highest score from sorted set at
key . |
ZSetOperations.TypedTuple<V> |
ZSetOperations.popMax(K key,
long timeout,
TimeUnit unit)
Remove and return the value with its score having the highest score from sorted set at
key . |
ZSetOperations.TypedTuple<V> |
BoundZSetOperations.popMax(long timeout,
TimeUnit unit)
Remove and return the value with its score having the highest score from sorted set at the bound key.
|
ZSetOperations.TypedTuple<V> |
BoundZSetOperations.popMin()
Remove and return the value with its score having the lowest score from sorted set at the bound key.
|
default ZSetOperations.TypedTuple<V> |
BoundZSetOperations.popMin(Duration timeout)
Remove and return the value with its score having the lowest score from sorted set at the bound key.
|
ZSetOperations.TypedTuple<V> |
ZSetOperations.popMin(K key)
Remove and return the value with its score having the lowest score from sorted set at
key . |
default ZSetOperations.TypedTuple<V> |
ZSetOperations.popMin(K key,
Duration timeout)
Remove and return the value with its score having the lowest score from sorted set at
key . |
ZSetOperations.TypedTuple<V> |
ZSetOperations.popMin(K key,
long timeout,
TimeUnit unit)
Remove and return the value with its score having the lowest score from sorted set at
key . |
ZSetOperations.TypedTuple<V> |
BoundZSetOperations.popMin(long timeout,
TimeUnit unit)
Remove and return the value with its score having the lowest score from sorted set at the bound key.
|
ZSetOperations.TypedTuple<V> |
BoundZSetOperations.randomMemberWithScore()
Get random element with its score from set at the bound key.
|
ZSetOperations.TypedTuple<V> |
ZSetOperations.randomMemberWithScore(K key)
Get random element with its score from set at
key . |
Modifier and Type | Method and Description |
---|---|
Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.differenceWithScores(Collection<K> otherKeys)
Diff sorted
sets . |
default Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.differenceWithScores(K otherKey)
Diff sorted
sets . |
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.differenceWithScores(K key,
Collection<K> otherKeys)
Diff sorted
sets . |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.differenceWithScores(K key,
Collection<K> otherKeys)
Diff sorted
sets . |
default Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.differenceWithScores(K key,
K otherKey)
Diff sorted
sets . |
default reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.differenceWithScores(K key,
K otherKey)
Diff sorted
sets . |
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.distinctRandomMembersWithScore(K key,
long count)
Get
count distinct random elements with their score from set at key . |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.distinctRandomMembersWithScore(K key,
long count)
Get
count distinct random elements with their score from set at key . |
Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.distinctRandomMembersWithScore(long count)
Get
count distinct random elements with their score from set at the bound key. |
Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.intersectWithScores(Collection<K> otherKeys)
Intersect sorted
sets . |
Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.intersectWithScores(Collection<K> otherKeys,
RedisZSetCommands.Aggregate aggregate,
RedisZSetCommands.Weights weights)
Intersect sorted
sets . |
default Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.intersectWithScores(K otherKey)
Intersect sorted
sets . |
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.intersectWithScores(K key,
Collection<K> otherKeys)
Intersect sorted
sets . |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.intersectWithScores(K key,
Collection<K> otherKeys)
Intersect sorted
sets . |
default Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.intersectWithScores(K key,
Collection<K> otherKeys,
RedisZSetCommands.Aggregate aggregate)
Intersect sorted sets at
key and otherKeys . |
default reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.intersectWithScores(K key,
Collection<K> otherKeys,
RedisZSetCommands.Aggregate aggregate)
Intersect sorted sets at
key and otherKeys . |
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.intersectWithScores(K key,
Collection<K> otherKeys,
RedisZSetCommands.Aggregate aggregate,
RedisZSetCommands.Weights weights)
Intersect sorted
sets . |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.intersectWithScores(K key,
Collection<K> otherKeys,
RedisZSetCommands.Aggregate aggregate,
RedisZSetCommands.Weights weights)
Intersect sorted
sets . |
default Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.intersectWithScores(K key,
K otherKey)
Intersect sorted
sets . |
default reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.intersectWithScores(K key,
K otherKey)
Intersect sorted
sets . |
reactor.core.publisher.Mono<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.popMax(K key)
Remove and return the value with its score having the highest score from sorted set at
key . |
reactor.core.publisher.Mono<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.popMax(K key,
Duration timeout)
Remove and return the value with its score having the highest score from sorted set at
key . |
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.popMax(K key,
long count)
Remove and return
count values with their score having the highest score from sorted set at key . |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.popMax(K key,
long count)
Remove and return
count values with their score having the highest score from sorted set at key . |
Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.popMax(long count)
Remove and return
count values with their score having the highest score from sorted set at the bound key. |
reactor.core.publisher.Mono<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.popMin(K key)
Remove and return the value with its score having the lowest score from sorted set at
key . |
reactor.core.publisher.Mono<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.popMin(K key,
Duration timeout)
Remove and return the value with its score having the lowest score from sorted set at
key . |
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.popMin(K key,
long count)
Remove and return
count values with their score having the lowest score from sorted set at key . |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.popMin(K key,
long count)
Remove and return
count values with their score having the lowest score from sorted set at key . |
Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.popMin(long count)
Remove and return
count values with their score having the lowest score from sorted set at the bound key. |
List<ZSetOperations.TypedTuple<V>> |
ZSetOperations.randomMembersWithScore(K key,
long count)
Get
count random elements with their score from set at key . |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.randomMembersWithScore(K key,
long count)
Get
count random elements with their score from set at key . |
List<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.randomMembersWithScore(long count)
Get
count random elements with their score from set at the bound key. |
reactor.core.publisher.Mono<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.randomMemberWithScore(K key)
Get random element with its score from set at
key . |
Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.rangeByScoreWithScores(double min,
double max)
|
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.rangeByScoreWithScores(K key,
double min,
double max)
|
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.rangeByScoreWithScores(K key,
double min,
double max,
long offset,
long count)
Get set of
RedisZSetCommands.Tuple s in range from start to end where score is between min and
max from sorted set. |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.rangeByScoreWithScores(K key,
Range<Double> range)
|
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.rangeByScoreWithScores(K key,
Range<Double> range,
RedisZSetCommands.Limit limit)
Get set of
RedisZSetCommands.Tuple s in range from start to end where score is between min and
max from sorted set. |
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.rangeWithScores(K key,
long start,
long end)
|
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.rangeWithScores(K key,
Range<Long> range)
|
Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.rangeWithScores(long start,
long end)
|
Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.reverseRangeByScoreWithScores(double min,
double max)
Get set of
RedisZSetCommands.Tuple where score is between min and max from sorted set ordered from high to
low. |
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.reverseRangeByScoreWithScores(K key,
double min,
double max)
Get set of
RedisZSetCommands.Tuple where score is between min and max from sorted set ordered from high to
low. |
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.reverseRangeByScoreWithScores(K key,
double min,
double max,
long offset,
long count)
Get set of
RedisZSetCommands.Tuple in range from start to end where score is between min and
max from sorted set ordered high -> low. |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.reverseRangeByScoreWithScores(K key,
Range<Double> range)
Get set of
RedisZSetCommands.Tuple where score is between min and max from sorted set ordered from high to
low. |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.reverseRangeByScoreWithScores(K key,
Range<Double> range,
RedisZSetCommands.Limit limit)
Get set of
RedisZSetCommands.Tuple in range from start to end where score is between min and
max from sorted set ordered high -> low. |
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.reverseRangeWithScores(K key,
long start,
long end)
Get set of
RedisZSetCommands.Tuple s in range from start to end from sorted set ordered from high to low. |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.reverseRangeWithScores(K key,
Range<Long> range)
Get set of
RedisZSetCommands.Tuple s in range from start to end from sorted set ordered from high to low. |
Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.reverseRangeWithScores(long start,
long end)
Get set of
RedisZSetCommands.Tuple s in range from start to end from sorted set ordered from high to low. |
default reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.scan(K key)
Use a
Flux to iterate over entries in the sorted set at key . |
Cursor<ZSetOperations.TypedTuple<V>> |
ZSetOperations.scan(K key,
ScanOptions options)
Iterate over elements in zset at
key . |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.scan(K key,
ScanOptions options)
|
Cursor<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.scan(ScanOptions options)
Iterate over elements in zset at the bound key.
|
Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.unionWithScores(Collection<K> otherKeys)
Union sorted
sets . |
default Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.unionWithScores(Collection<K> otherKeys,
RedisZSetCommands.Aggregate aggregate)
Union sorted sets at the bound key and
otherKeys . |
Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.unionWithScores(Collection<K> otherKeys,
RedisZSetCommands.Aggregate aggregate,
RedisZSetCommands.Weights weights)
Union sorted
sets . |
default Set<ZSetOperations.TypedTuple<V>> |
BoundZSetOperations.unionWithScores(K otherKey)
Union sorted
sets . |
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.unionWithScores(K key,
Collection<K> otherKeys)
Union sorted
sets . |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.unionWithScores(K key,
Collection<K> otherKeys)
Union sorted
sets . |
default Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.unionWithScores(K key,
Collection<K> otherKeys,
RedisZSetCommands.Aggregate aggregate)
Union sorted sets at
key and otherKeys . |
default reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.unionWithScores(K key,
Collection<K> otherKeys,
RedisZSetCommands.Aggregate aggregate)
Union sorted sets at
key and otherKeys . |
Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.unionWithScores(K key,
Collection<K> otherKeys,
RedisZSetCommands.Aggregate aggregate,
RedisZSetCommands.Weights weights)
Union sorted
sets . |
reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.unionWithScores(K key,
Collection<K> otherKeys,
RedisZSetCommands.Aggregate aggregate,
RedisZSetCommands.Weights weights)
Union sorted
sets . |
default Set<ZSetOperations.TypedTuple<V>> |
ZSetOperations.unionWithScores(K key,
K otherKey)
Union sorted
sets . |
default reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>> |
ReactiveZSetOperations.unionWithScores(K key,
K otherKey)
Union sorted
sets . |
Modifier and Type | Method and Description |
---|---|
int |
DefaultTypedTuple.compareTo(ZSetOperations.TypedTuple<V> o) |
Modifier and Type | Method and Description |
---|---|
Long |
ZSetOperations.add(K key,
Set<ZSetOperations.TypedTuple<V>> tuples)
Add
tuples to a sorted set at key , or update its score if it already exists. |
Long |
BoundZSetOperations.add(Set<ZSetOperations.TypedTuple<V>> tuples)
Add
tuples to a sorted set at the bound key, or update its score if it already exists. |
reactor.core.publisher.Mono<Long> |
ReactiveZSetOperations.addAll(K key,
Collection<? extends ZSetOperations.TypedTuple<V>> tuples)
Add
tuples to a sorted set at key , or update their score if it already exists. |
Long |
ZSetOperations.addIfAbsent(K key,
Set<ZSetOperations.TypedTuple<V>> tuples)
Add
tuples to a sorted set at key if it does not already exists. |
Long |
BoundZSetOperations.addIfAbsent(Set<ZSetOperations.TypedTuple<V>> tuples)
Add
tuples to a sorted set at the bound key if it does not already exists. |
Modifier and Type | Method and Description |
---|---|
Set<ZSetOperations.TypedTuple<E>> |
DefaultRedisZSet.diffWithScores(Collection<? extends RedisZSet<?>> sets) |
Set<ZSetOperations.TypedTuple<E>> |
RedisZSet.diffWithScores(Collection<? extends RedisZSet<?>> sets)
Diff this set and other
RedisZSet s. |
Set<ZSetOperations.TypedTuple<E>> |
DefaultRedisZSet.diffWithScores(RedisZSet<?> set) |
Set<ZSetOperations.TypedTuple<E>> |
RedisZSet.diffWithScores(RedisZSet<?> set)
Diff this set and another
RedisZSet . |
Set<ZSetOperations.TypedTuple<E>> |
DefaultRedisZSet.intersectWithScores(Collection<? extends RedisZSet<?>> sets) |
Set<ZSetOperations.TypedTuple<E>> |
RedisZSet.intersectWithScores(Collection<? extends RedisZSet<?>> sets)
Intersect this set and other
RedisZSet s. |
Set<ZSetOperations.TypedTuple<E>> |
DefaultRedisZSet.intersectWithScores(RedisZSet<?> set) |
Set<ZSetOperations.TypedTuple<E>> |
RedisZSet.intersectWithScores(RedisZSet<?> set)
Intersect this set and another
RedisZSet . |
Set<ZSetOperations.TypedTuple<E>> |
DefaultRedisZSet.rangeByScoreWithScores(double min,
double max) |
Set<ZSetOperations.TypedTuple<E>> |
RedisZSet.rangeByScoreWithScores(double min,
double max)
Get set of
RedisZSetCommands.Tuple s where score is between min and max from sorted set. |
Set<ZSetOperations.TypedTuple<E>> |
DefaultRedisZSet.rangeWithScores(long start,
long end) |
Set<ZSetOperations.TypedTuple<E>> |
RedisZSet.rangeWithScores(long start,
long end)
Get set of
RedisZSetCommands.Tuple s between start and end from sorted set. |
Set<ZSetOperations.TypedTuple<E>> |
DefaultRedisZSet.reverseRangeByScoreWithScores(double min,
double max) |
Set<ZSetOperations.TypedTuple<E>> |
RedisZSet.reverseRangeByScoreWithScores(double min,
double max)
Get set of
RedisZSetCommands.Tuple s where score is between min and max from sorted set
ordered from high to low. |
Set<ZSetOperations.TypedTuple<E>> |
DefaultRedisZSet.reverseRangeWithScores(long start,
long end) |
Set<ZSetOperations.TypedTuple<E>> |
RedisZSet.reverseRangeWithScores(long start,
long end)
Get set of
RedisZSetCommands.Tuple s in range from start to end from sorted set ordered from
high to low. |
Cursor<ZSetOperations.TypedTuple<E>> |
DefaultRedisZSet.scan(ScanOptions options) |
Set<ZSetOperations.TypedTuple<E>> |
DefaultRedisZSet.unionWithScores(Collection<? extends RedisZSet<?>> sets) |
Set<ZSetOperations.TypedTuple<E>> |
RedisZSet.unionWithScores(Collection<? extends RedisZSet<?>> sets)
Union this set and other
RedisZSet s. |
Set<ZSetOperations.TypedTuple<E>> |
DefaultRedisZSet.unionWithScores(RedisZSet<?> set) |
Set<ZSetOperations.TypedTuple<E>> |
RedisZSet.unionWithScores(RedisZSet<?> set)
Union this set and another
RedisZSet . |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.