Package | Description |
---|---|
org.springframework.data.redis.connection |
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
|
org.springframework.data.redis.connection.convert |
Redis specific converters used for sending data and parsing responses.
|
org.springframework.data.redis.connection.jedis |
Connection package for Jedis library.
|
org.springframework.data.redis.connection.lettuce |
Connection package for Lettuce Redis client.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
StringRedisConnection.StringTuple
String-friendly ZSet tuple.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultStringTuple
Default implementation for
StringRedisConnection.StringTuple interface. |
class |
DefaultTuple
Default implementation for
RedisZSetCommands.Tuple interface. |
Modifier and Type | Method and Description |
---|---|
List<RedisZSetCommands.Tuple> |
ReactiveZSetCommands.ZAddCommand.getTuples() |
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveZSetCommands.ZRangeCommand,reactor.core.publisher.Flux<RedisZSetCommands.Tuple>>> |
ReactiveZSetCommands.zRange(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRangeCommand> commands)
Get set of
RedisZSetCommands.Tuple s in range from sorted set. |
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveZSetCommands.ZRangeByScoreCommand,reactor.core.publisher.Flux<RedisZSetCommands.Tuple>>> |
ReactiveZSetCommands.zRangeByScore(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRangeByScoreCommand> commands)
Get
RedisZSetCommands.Tuple s in range from sorted set. |
default Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRangeByScoreWithScores(byte[] key,
double min,
double max)
|
Set<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zRangeByScoreWithScores(byte[] key,
double min,
double max) |
default Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRangeByScoreWithScores(byte[] 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. |
Set<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zRangeByScoreWithScores(byte[] key,
double min,
double max,
long offset,
long count) |
default Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range)
|
Set<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range) |
default Set<RedisZSetCommands.Tuple> |
DefaultedRedisConnection.zRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range,
RedisZSetCommands.Limit limit)
Deprecated.
in favor of
RedisConnection.zSetCommands() }. |
Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range,
RedisZSetCommands.Limit limit)
Get set of
RedisZSetCommands.Tuple s in range from Limit#offset to Limit#offset + Limit#count where score is
between Range#min and Range#max from sorted set. |
Set<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range,
RedisZSetCommands.Limit limit) |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
ReactiveZSetCommands.zRangeByScoreWithScores(ByteBuffer key,
Range<Double> range)
Get
RedisZSetCommands.Tuple s in range from sorted set. |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
ReactiveZSetCommands.zRangeByScoreWithScores(ByteBuffer key,
Range<Double> range,
RedisZSetCommands.Limit limit)
Get
RedisZSetCommands.Tuple s in range from sorted set. |
default Set<RedisZSetCommands.Tuple> |
DefaultedRedisConnection.zRangeWithScores(byte[] key,
long start,
long end)
Deprecated.
in favor of
RedisConnection.zSetCommands() }. |
Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRangeWithScores(byte[] key,
long start,
long end)
|
Set<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zRangeWithScores(byte[] key,
long start,
long end) |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
ReactiveZSetCommands.zRangeWithScores(ByteBuffer key,
Range<Long> range)
Get set of
RedisZSetCommands.Tuple s in range from sorted set. |
default Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRevRangeByScoreWithScores(byte[] 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<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zRevRangeByScoreWithScores(byte[] key,
double min,
double max) |
default Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRevRangeByScoreWithScores(byte[] 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. |
Set<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zRevRangeByScoreWithScores(byte[] key,
double min,
double max,
long offset,
long count) |
default Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRevRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range)
Get set of
RedisZSetCommands.Tuple where score is between Range#min and Range#max from sorted set ordered
from high to low. |
Set<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zRevRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range) |
default Set<RedisZSetCommands.Tuple> |
DefaultedRedisConnection.zRevRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range,
RedisZSetCommands.Limit limit)
Deprecated.
in favor of
RedisConnection.zSetCommands() }. |
Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRevRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range,
RedisZSetCommands.Limit limit)
Get set of
RedisZSetCommands.Tuple in range from Limit#offset to Limit#count where score is between
Range#min and Range#max from sorted set ordered high -> low. |
Set<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zRevRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range,
RedisZSetCommands.Limit limit) |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
ReactiveZSetCommands.zRevRangeByScoreWithScores(ByteBuffer key,
Range<Double> range)
Get set of
RedisZSetCommands.Tuple s in range from sorted set in reverse score ordering. |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
ReactiveZSetCommands.zRevRangeByScoreWithScores(ByteBuffer key,
Range<Double> range,
RedisZSetCommands.Limit limit)
Get
RedisZSetCommands.Tuple s in range from sorted set in reverse score ordering. |
default Set<RedisZSetCommands.Tuple> |
DefaultedRedisConnection.zRevRangeWithScores(byte[] key,
long start,
long end)
Deprecated.
in favor of
RedisConnection.zSetCommands() }. |
Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRevRangeWithScores(byte[] 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. |
Set<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zRevRangeWithScores(byte[] key,
long start,
long end) |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
ReactiveZSetCommands.zRevRangeWithScores(ByteBuffer key,
Range<Long> range)
Get set of
RedisZSetCommands.Tuple s in range from sorted set in reverse score ordering. |
default Cursor<RedisZSetCommands.Tuple> |
DefaultedRedisConnection.zScan(byte[] key,
ScanOptions options)
Deprecated.
in favor of
RedisConnection.zSetCommands() }. |
Cursor<RedisZSetCommands.Tuple> |
RedisZSetCommands.zScan(byte[] key,
ScanOptions options)
Use a
Cursor to iterate over elements in sorted set at key . |
Cursor<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zScan(byte[] key,
ScanOptions options) |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
ReactiveZSetCommands.zScan(ByteBuffer key)
Use a
Flux to iterate over members in the sorted set at key . |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
ReactiveZSetCommands.zScan(ByteBuffer key,
ScanOptions options)
|
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveRedisConnection.KeyCommand,reactor.core.publisher.Flux<RedisZSetCommands.Tuple>>> |
ReactiveZSetCommands.zScan(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyScanCommand> commands)
Use a
Flux to iterate over members in the sorted set at key . |
Modifier and Type | Method and Description |
---|---|
static ReactiveZSetCommands.ZAddCommand |
ReactiveZSetCommands.ZAddCommand.tuple(RedisZSetCommands.Tuple tuple)
Creates a new
ReactiveZSetCommands.ZAddCommand given a RedisZSetCommands.Tuple . |
Modifier and Type | Method and Description |
---|---|
static ReactiveZSetCommands.ZAddCommand |
ReactiveZSetCommands.ZAddCommand.tuples(Collection<? extends RedisZSetCommands.Tuple> tuples)
|
default Long |
DefaultedRedisConnection.zAdd(byte[] key,
Set<RedisZSetCommands.Tuple> tuples)
Deprecated.
in favor of
RedisConnection.zSetCommands() }. |
Long |
RedisZSetCommands.zAdd(byte[] key,
Set<RedisZSetCommands.Tuple> tuples)
Add
tuples to a sorted set at key , or update its score if it already exists. |
Long |
DefaultStringRedisConnection.zAdd(byte[] key,
Set<RedisZSetCommands.Tuple> tuples) |
default reactor.core.publisher.Mono<Long> |
ReactiveZSetCommands.zAdd(ByteBuffer key,
Collection<? extends RedisZSetCommands.Tuple> tuples)
Add a tuples to a sorted set at key, or update their score if it already exists.
|
Constructor and Description |
---|
DefaultStringTuple(RedisZSetCommands.Tuple tuple,
String valueAsString)
Constructs a new
DefaultStringTuple instance. |
Modifier and Type | Method and Description |
---|---|
static List<Object> |
Converters.toObjects(Set<RedisZSetCommands.Tuple> tuples) |
Modifier and Type | Method and Description |
---|---|
static Set<RedisZSetCommands.Tuple> |
JedisConverters.toTupleSet(Set<redis.clients.jedis.Tuple> source) |
static SetConverter<redis.clients.jedis.Tuple,RedisZSetCommands.Tuple> |
JedisConverters.tupleSetToTupleSet() |
static ListConverter<redis.clients.jedis.Tuple,RedisZSetCommands.Tuple> |
JedisConverters.tuplesToTuples()
|
Modifier and Type | Method and Description |
---|---|
static Map<byte[],Double> |
JedisConverters.toTupleMap(Set<RedisZSetCommands.Tuple> tuples)
|
Modifier and Type | Method and Description |
---|---|
static RedisZSetCommands.Tuple |
LettuceConverters.toTuple(io.lettuce.core.ScoredValue<byte[]> source) |
Modifier and Type | Method and Description |
---|---|
static Converter<List<byte[]>,List<RedisZSetCommands.Tuple>> |
LettuceConverters.bytesListToTupleListConverter() |
static Converter<List<io.lettuce.core.ScoredValue<byte[]>>,List<RedisZSetCommands.Tuple>> |
LettuceConverters.scoredValuesToTupleList() |
static Converter<List<io.lettuce.core.ScoredValue<byte[]>>,Set<RedisZSetCommands.Tuple>> |
LettuceConverters.scoredValuesToTupleSet() |
static Converter<io.lettuce.core.ScoredValue<byte[]>,RedisZSetCommands.Tuple> |
LettuceConverters.scoredValueToTuple() |
static List<RedisZSetCommands.Tuple> |
LettuceConverters.toTuple(List<byte[]> list) |
static Set<RedisZSetCommands.Tuple> |
LettuceConverters.toTupleSet(List<io.lettuce.core.ScoredValue<byte[]>> source) |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.