Uses of Class
org.springframework.data.redis.connection.Limit
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
Connection package for Lettuce Redis client.
Core package for integrating Redis with Spring concepts.
Package providing implementations for most of the
java.util
collections on top of Redis.-
Uses of Limit in org.springframework.data.redis.connection
Modifier and TypeMethodDescriptionLimit.count
(int count) ReactiveStreamCommands.RangeCommand.getLimit()
ReactiveZSetCommands.ZRangeByLexCommand.getLimit()
ReactiveZSetCommands.ZRangeStoreCommand.getLimit()
static Limit
Limit.limit()
Limit.offset
(int offset) static Limit
Limit.unlimited()
Modifier and TypeMethodDescriptionApplies aLimit
.Applies the limit.Applies theLimit
.Applies theLimit
.default List<ByteRecord>
Deprecated.in favor ofRedisCommandsProvider.streamCommands()
}.default reactor.core.publisher.Flux<ByteBufferRecord>
ReactiveStreamCommands.xRange
(ByteBuffer key, Range<String> range, Limit limit) Read records from a stream within a specificRedisZSetCommands.Range
applying aLimit
.default List<ByteRecord>
Deprecated.in favor ofRedisCommandsProvider.streamCommands()
}.default reactor.core.publisher.Flux<ByteBufferRecord>
ReactiveStreamCommands.xRevRange
(ByteBuffer key, Range<String> range, Limit limit) Read records from a stream within a specificRedisZSetCommands.Range
applying aLimit
in reverse order.default Set<byte[]>
DefaultedRedisConnection.zRangeByLex
(byte[] key, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()
}.Set<byte[]>
DefaultStringRedisConnection.zRangeByLex
(byte[] key, Range<byte[]> range, Limit limit) DefaultStringRedisConnection.zRangeByLex
(String key, Range<String> range, Limit limit) default reactor.core.publisher.Flux<ByteBuffer>
ReactiveZSetCommands.zRangeByLex
(ByteBuffer key, Range<String> range, Limit limit) Get all elements inRange
from the sorted set at key in lexicographical ordering.Set<byte[]>
RedisZSetCommands.zRangeByLex
(byte[] key, Range<byte[]> range, Limit limit) Get all the elements inRange
from the sorted set at key in lexicographical ordering.StringRedisConnection.zRangeByLex
(String key, Range<String> range, Limit limit) Get all the elements inRedisZSetCommands.Range
from the sorted set at key in lexicographical ordering.default Set<byte[]>
DefaultedRedisConnection.zRangeByScore
(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()
}.Set<byte[]>
DefaultStringRedisConnection.zRangeByScore
(byte[] key, Range<? extends Number> range, Limit limit) default reactor.core.publisher.Flux<ByteBuffer>
ReactiveZSetCommands.zRangeByScore
(ByteBuffer key, Range<Double> range, Limit limit) Get elements in range from sorted set.Set<byte[]>
RedisZSetCommands.zRangeByScore
(byte[] key, Range<? extends Number> range, Limit limit) Get elements in range fromLimit#count
toLimit#offset
where score is betweenRange#min
andRange#max
from sorted set.DefaultedRedisConnection.zRangeByScoreWithScores
(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()
}.DefaultStringRedisConnection.zRangeByScoreWithScores
(byte[] key, Range<? extends Number> range, Limit limit) default reactor.core.publisher.Flux<Tuple>
ReactiveZSetCommands.zRangeByScoreWithScores
(ByteBuffer key, Range<Double> range, Limit limit) GetTuple
s in range from sorted set.RedisZSetCommands.zRangeByScoreWithScores
(byte[] key, Range<? extends Number> range, Limit limit) Get set ofTuple
s in range fromLimit#offset
toLimit#offset + Limit#count
where score is betweenRange#min
andRange#max
from sorted set.default Long
DefaultedRedisConnection.zRangeStoreByLex
(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()
}.DefaultStringRedisConnection.zRangeStoreByLex
(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) DefaultStringRedisConnection.zRangeStoreByLex
(String dstKey, String srcKey, Range<String> range, Limit limit) default reactor.core.publisher.Mono<Long>
ReactiveZSetCommands.zRangeStoreByLex
(ByteBuffer srcKey, ByteBuffer destKey, Range<String> range, Limit limit) Add elements fromsrcKey
by lexicographical range todestKey
.RedisZSetCommands.zRangeStoreByLex
(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) This command is like ZRANGE , but stores the result in the dstKey destination key.StringRedisConnection.zRangeStoreByLex
(String dstKey, String srcKey, Range<String> range, Limit limit) This command is like ZRANGE , but stores the result in the dstKey destination key.default Long
DefaultedRedisConnection.zRangeStoreByScore
(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()
}.DefaultStringRedisConnection.zRangeStoreByScore
(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) DefaultStringRedisConnection.zRangeStoreByScore
(String dstKey, String srcKey, Range<? extends Number> range, Limit limit) default reactor.core.publisher.Mono<Long>
ReactiveZSetCommands.zRangeStoreByScore
(ByteBuffer srcKey, ByteBuffer destKey, Range<Double> range, Limit limit) Add elements fromsrcKey
by score range todestKey
.RedisZSetCommands.zRangeStoreByScore
(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) This command is like ZRANGE, but stores the result in the dstKey destination key.StringRedisConnection.zRangeStoreByScore
(String dstKey, String srcKey, Range<? extends Number> range, Limit limit) This command is like ZRANGE, but stores the result in the dstKey destination key.default Long
DefaultedRedisConnection.zRangeStoreRevByLex
(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()
}.DefaultStringRedisConnection.zRangeStoreRevByLex
(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) DefaultStringRedisConnection.zRangeStoreRevByLex
(String dstKey, String srcKey, Range<String> range, Limit limit) default reactor.core.publisher.Mono<Long>
ReactiveZSetCommands.zRangeStoreRevByLex
(ByteBuffer srcKey, ByteBuffer destKey, Range<String> range, Limit limit) Add elements fromsrcKey
by reverse lexicographical range todestKey
.RedisZSetCommands.zRangeStoreRevByLex
(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) This command is like ZRANGE … REV , but stores the result in the dstKey destination key.StringRedisConnection.zRangeStoreRevByLex
(String dstKey, String srcKey, Range<String> range, Limit limit) This command is like ZRANGE … REV , but stores the result in the dstKey destination key.default Long
DefaultedRedisConnection.zRangeStoreRevByScore
(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()
}.DefaultStringRedisConnection.zRangeStoreRevByScore
(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) DefaultStringRedisConnection.zRangeStoreRevByScore
(String dstKey, String srcKey, Range<? extends Number> range, Limit limit) default reactor.core.publisher.Mono<Long>
ReactiveZSetCommands.zRangeStoreRevByScore
(ByteBuffer srcKey, ByteBuffer destKey, Range<Double> range, Limit limit) Add elements fromsrcKey
by reverse score range todestKey
.RedisZSetCommands.zRangeStoreRevByScore
(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) This command is like ZRANGE … REV, but stores the result in the dstKey destination key.StringRedisConnection.zRangeStoreRevByScore
(String dstKey, String srcKey, Range<? extends Number> range, Limit limit) This command is like ZRANGE … REV, but stores the result in the dstKey destination key.default Set<byte[]>
DefaultedRedisConnection.zRevRangeByLex
(byte[] key, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()
}.Set<byte[]>
DefaultStringRedisConnection.zRevRangeByLex
(byte[] key, Range<byte[]> range, Limit limit) DefaultStringRedisConnection.zRevRangeByLex
(String key, Range<String> range, Limit limit) default reactor.core.publisher.Flux<ByteBuffer>
ReactiveZSetCommands.zRevRangeByLex
(ByteBuffer key, Range<String> range, Limit limit) Get all elements inRange
from the sorted set at key in lexicographical ordering.Set<byte[]>
RedisZSetCommands.zRevRangeByLex
(byte[] key, Range<byte[]> range, Limit limit) Get all the elements inRange
from the sorted set at key in reversed lexicographical ordering.StringRedisConnection.zRevRangeByLex
(String key, Range<String> range, Limit limit) Get all the elements inRedisZSetCommands.Range
from the sorted set at key in reversed lexicographical ordering.default Set<byte[]>
DefaultedRedisConnection.zRevRangeByScore
(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()
}.Set<byte[]>
DefaultStringRedisConnection.zRevRangeByScore
(byte[] key, Range<? extends Number> range, Limit limit) default reactor.core.publisher.Flux<ByteBuffer>
ReactiveZSetCommands.zRevRangeByScore
(ByteBuffer key, Range<Double> range, Limit limit) Get elements in range from sorted set in reverse score ordering.Set<byte[]>
RedisZSetCommands.zRevRangeByScore
(byte[] key, Range<? extends Number> range, Limit limit) Get elements in range fromLimit#offset
toLimit#offset + Limit#count
where score is betweenRange#min
andRange#max
from sorted set ordered high -> low.DefaultedRedisConnection.zRevRangeByScoreWithScores
(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()
}.DefaultStringRedisConnection.zRevRangeByScoreWithScores
(byte[] key, Range<? extends Number> range, Limit limit) default reactor.core.publisher.Flux<Tuple>
ReactiveZSetCommands.zRevRangeByScoreWithScores
(ByteBuffer key, Range<Double> range, Limit limit) GetTuple
s in range from sorted set in reverse score ordering.RedisZSetCommands.zRevRangeByScoreWithScores
(byte[] key, Range<? extends Number> range, Limit limit) Get set ofTuple
in range fromLimit#offset
toLimit#count
where score is betweenRange#min
andRange#max
from sorted set ordered high -> low. -
Uses of Limit in org.springframework.data.redis.connection.lettuce
-
Uses of Limit in org.springframework.data.redis.core
Modifier and TypeMethodDescriptiondefault <V> reactor.core.publisher.Flux<ObjectRecord<K,
V>> default <V> List<ObjectRecord<K,
V>> BoundZSetOperations.rangeAndStoreByLex
(K dstKey, Range<String> range, Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with lexicographical ordering from ZSET at the bound key with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.reactor.core.publisher.Mono<Long>
Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with lexicographical ordering from ZSET atsrcKey
with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with lexicographical ordering from ZSET atsrcKey
with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.BoundZSetOperations.rangeAndStoreByScore
(K dstKey, Range<? extends Number> range, Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with ordering by score from ZSET at the bound key with a score betweenRange.getLowerBound()
andRange.getUpperBound()
.reactor.core.publisher.Mono<Long>
Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with ordering by score from ZSET atsrcKey
with a score betweenRange.getLowerBound()
andRange.getUpperBound()
.Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with ordering by score from ZSET atsrcKey
with a score betweenRange.getLowerBound()
andRange.getUpperBound()
.BoundZSetOperations.rangeByLex
(Range<String> range, Limit limit) Get all elements n elements, where n =getCount()
, starting atgetOffset()
with lexicographical ordering having a value betweenRange.getLowerBound()
andRange.getUpperBound()
.BoundZSetOperations.rangeByLex
(RedisZSetCommands.Range range, Limit limit) Deprecated, for removal: This API element is subject to removal in a future version.since 3.0.reactor.core.publisher.Flux<V>
ReactiveZSetOperations.rangeByLex
(K key, Range<String> range, Limit limit) Get all elements n elements, where n =getCount()
, starting atgetOffset()
with lexicographical ordering from ZSET atkey
with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.ZSetOperations.rangeByLex
(K key, Range<String> range, Limit limit) Get all elements n elements, where n =getCount()
, starting atgetOffset()
with lexicographical ordering from ZSET atkey
with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.ZSetOperations.rangeByLex
(K key, RedisZSetCommands.Range range, Limit limit) Deprecated, for removal: This API element is subject to removal in a future version.since 3.0.reactor.core.publisher.Flux<V>
ReactiveZSetOperations.rangeByScore
(K key, Range<Double> range, Limit limit) Get elements in range fromstart
toend
where score is betweenmin
andmax
from sorted set.reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>>
ReactiveZSetOperations.rangeByScoreWithScores
(K key, Range<Double> range, Limit limit) BoundStreamOperations.reverseRange
(Range<String> range, Limit limit) default <V> reactor.core.publisher.Flux<ObjectRecord<K,
V>> Read records from a stream within a specificRange
applying aLimit
in reverse order asObjectRecord
.ReactiveStreamOperations.reverseRange
(K key, Range<String> range, Limit limit) default <V> List<ObjectRecord<K,
V>> Read records from a stream within a specificRange
applying aLimit
in reverse order asObjectRecord
.StreamOperations.reverseRange
(K key, Range<String> range, Limit limit) BoundZSetOperations.reverseRangeAndStoreByLex
(K dstKey, Range<String> range, Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with reverse lexicographical ordering from ZSET at the bound key with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.reactor.core.publisher.Mono<Long>
ReactiveZSetOperations.reverseRangeAndStoreByLex
(K srcKey, K dstKey, Range<String> range, Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with reverse lexicographical ordering from ZSET atsrcKey
with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with reverse lexicographical ordering from ZSET atsrcKey
with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.BoundZSetOperations.reverseRangeAndStoreByScore
(K dstKey, Range<? extends Number> range, Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with reverse ordering by score from ZSET at the bound key with a score betweenRange.getLowerBound()
andRange.getUpperBound()
.reactor.core.publisher.Mono<Long>
ReactiveZSetOperations.reverseRangeAndStoreByScore
(K srcKey, K dstKey, Range<Double> range, Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with reverse ordering by score from ZSET atsrcKey
with a score betweenRange.getLowerBound()
andRange.getUpperBound()
.ZSetOperations.reverseRangeAndStoreByScore
(K srcKey, K dstKey, Range<? extends Number> range, Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with reverse ordering by score from ZSET atsrcKey
with a score betweenRange.getLowerBound()
andRange.getUpperBound()
.BoundZSetOperations.reverseRangeByLex
(Range<String> range, Limit limit) Get all elements n elements, where n =getCount()
, starting atgetOffset()
with reverse lexicographical ordering having a value betweenRange.getLowerBound()
andRange.getUpperBound()
.BoundZSetOperations.reverseRangeByLex
(RedisZSetCommands.Range range, Limit limit) Deprecated, for removal: This API element is subject to removal in a future version.since 3.0.reactor.core.publisher.Flux<V>
ReactiveZSetOperations.reverseRangeByLex
(K key, Range<String> range, Limit limit) Get all elements n elements, where n =getCount()
, starting atgetOffset()
with reverse lexicographical ordering from ZSET atkey
with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.ZSetOperations.reverseRangeByLex
(K key, Range<String> range, Limit limit) Get all elements n elements, where n =getCount()
, starting atgetOffset()
with reverse lexicographical ordering from ZSET atkey
with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.ZSetOperations.reverseRangeByLex
(K key, RedisZSetCommands.Range range, Limit limit) Deprecated, for removal: This API element is subject to removal in a future version.since 3.0.reactor.core.publisher.Flux<V>
ReactiveZSetOperations.reverseRangeByScore
(K key, Range<Double> range, Limit limit) Get elements in range fromstart
toend
where score is betweenmin
andmax
from sorted set ordered high -> low.reactor.core.publisher.Flux<ZSetOperations.TypedTuple<V>>
ReactiveZSetOperations.reverseRangeByScoreWithScores
(K key, Range<Double> range, Limit limit) Get set ofTuple
in range fromstart
toend
where score is betweenmin
andmax
from sorted set ordered high -> low. -
Uses of Limit in org.springframework.data.redis.support.collections
Modifier and TypeMethodDescriptionDefaultRedisZSet.rangeAndStoreByLex
(String dstKey, Range<String> range, Limit limit) RedisZSet.rangeAndStoreByLex
(String dstKey, Range<String> range, Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with lexicographical ordering from ZSET at the bound key with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.DefaultRedisZSet.rangeAndStoreByScore
(String dstKey, Range<? extends Number> range, Limit limit) RedisZSet.rangeAndStoreByScore
(String dstKey, Range<? extends Number> range, Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with ordering by score from ZSET at the bound key with a score betweenRange.getLowerBound()
andRange.getUpperBound()
.DefaultRedisZSet.rangeByLex
(Range<String> range, Limit limit) RedisZSet.rangeByLex
(Range<String> range, Limit limit) Get all elements n elements, where n =getCount()
, starting atgetOffset()
with lexicographical ordering having a value betweenRange.getLowerBound()
andRange.getUpperBound()
.RedisZSet.rangeByLex
(RedisZSetCommands.Range range, Limit limit) Deprecated, for removal: This API element is subject to removal in a future version.since 3.0.DefaultRedisZSet.reverseRangeAndStoreByLex
(String dstKey, Range<String> range, Limit limit) RedisZSet.reverseRangeAndStoreByLex
(String dstKey, Range<String> range, Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with reverse lexicographical ordering from ZSET at the bound key with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.DefaultRedisZSet.reverseRangeAndStoreByScore
(String dstKey, Range<? extends Number> range, Limit limit) RedisZSet.reverseRangeAndStoreByScore
(String dstKey, Range<? extends Number> range, Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with reverse ordering by score from ZSET at the bound key with a score betweenRange.getLowerBound()
andRange.getUpperBound()
.DefaultRedisZSet.reverseRangeByLex
(Range<String> range, Limit limit) RedisZSet.reverseRangeByLex
(Range<String> range, Limit limit) Get all elements n elements, where n =getCount()
, starting atgetOffset()
with reverse lexicographical ordering having a value betweenRange.getLowerBound()
andRange.getUpperBound()
.RedisZSet.reverseRangeByLex
(RedisZSetCommands.Range range, Limit limit) Deprecated, for removal: This API element is subject to removal in a future version.since 3.0.
Limit
instead.