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 | |
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.MultiValueResponse<ReactiveZSetCommands.ZRangeCommand,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.MultiValueResponse<ReactiveZSetCommands.ZRangeByScoreCommand,RedisZSetCommands.Tuple>> |
ReactiveZSetCommands.zRangeByScore(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRangeByScoreCommand> commands)
Get
RedisZSetCommands.Tuple s in range from sorted set. |
Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRangeByScoreWithScores(byte[] key,
double min,
double max)
|
Set<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zRangeByScoreWithScores(byte[] key,
double min,
double max) |
Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRangeByScoreWithScores(byte[] key,
double min,
double max,
long offset,
long count)
Get set of
RedisZSetCommands.Tuple s in range from begin 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) |
Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range)
|
Set<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range) |
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.Mono<List<RedisZSetCommands.Tuple>> |
ReactiveZSetCommands.zRangeByScoreWithScores(ByteBuffer key,
Range<Double> range)
Get
RedisZSetCommands.Tuple s in range from sorted set. |
default reactor.core.publisher.Mono<List<RedisZSetCommands.Tuple>> |
ReactiveZSetCommands.zRangeByScoreWithScores(ByteBuffer key,
Range<Double> range,
RedisZSetCommands.Limit limit)
Get
RedisZSetCommands.Tuple s in range from sorted set. |
Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRangeWithScores(byte[] key,
long begin,
long end)
|
Set<RedisZSetCommands.Tuple> |
DefaultStringRedisConnection.zRangeWithScores(byte[] key,
long start,
long end) |
default reactor.core.publisher.Mono<List<RedisZSetCommands.Tuple>> |
ReactiveZSetCommands.zRangeWithScores(ByteBuffer key,
Range<Long> range)
Get set of
RedisZSetCommands.Tuple s in range from sorted set. |
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) |
Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRevRangeByScoreWithScores(byte[] key,
double min,
double max,
long offset,
long count)
Get set of
RedisZSetCommands.Tuple in range from begin 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) |
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) |
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.Mono<List<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.Mono<List<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. |
Set<RedisZSetCommands.Tuple> |
RedisZSetCommands.zRevRangeWithScores(byte[] key,
long begin,
long end)
Get set of
RedisZSetCommands.Tuple s in range from begin 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.Mono<List<RedisZSetCommands.Tuple>> |
ReactiveZSetCommands.zRevRangeWithScores(ByteBuffer key,
Range<Long> range)
Get set of
RedisZSetCommands.Tuple s in range from sorted set in reverse score ordering. |
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) |
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<RedisZSetCommands.Tuple> tuples)
|
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) |
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 |
---|---|
Long |
JedisConnection.zAdd(byte[] key,
Set<RedisZSetCommands.Tuple> tuples) |
Long |
JedisClusterConnection.zAdd(byte[] key,
Set<RedisZSetCommands.Tuple> tuples) |
Modifier and Type | Method and Description |
---|---|
static RedisZSetCommands.Tuple |
LettuceConverters.toTuple(com.lambdaworks.redis.ScoredValue<byte[]> source) |
Modifier and Type | Method and Description |
---|---|
Long |
LettuceConnection.zAdd(byte[] key,
Set<RedisZSetCommands.Tuple> tuples) |
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.