Uses of Class
org.springframework.data.redis.connection.Limit
Packages that use 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
Subclasses of Limit in org.springframework.data.redis.connectionMethods in org.springframework.data.redis.connection that return LimitModifier 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()
Methods in org.springframework.data.redis.connection that return types with arguments of type LimitMethods in org.springframework.data.redis.connection with parameters of type LimitModifier and TypeMethodDescriptionApplies aLimit
.Applies the limit.Applies theLimit
.Applies theLimit
.default List
<ByteRecord> Deprecated.in favor ofRedisCommandsProvider.streamCommands()
}.default Flux
<ByteBufferRecord> ReactiveStreamCommands.xRange
(ByteBuffer key, Range<String> range, Limit limit) List
<@NonNull ByteRecord> RedisStreamCommands.xRange
(byte @NonNull [] key, @NonNull Range<@NonNull String> range, @NonNull Limit limit) StringRedisConnection.xRange
(@NonNull String key, @NonNull Range<String> range, @NonNull Limit limit) Read records from a stream within a specificRedisZSetCommands.Range
applying aLimit
.default List
<ByteRecord> Deprecated.in favor ofRedisCommandsProvider.streamCommands()
}.default Flux
<ByteBufferRecord> ReactiveStreamCommands.xRevRange
(ByteBuffer key, Range<String> range, Limit limit) List
<@NonNull ByteRecord> RedisStreamCommands.xRevRange
(byte @NonNull [] key, @NonNull Range<@NonNull String> range, @NonNull Limit limit) StringRedisConnection.xRevRange
(@NonNull String key, @NonNull Range<String> range, @NonNull 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 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 @NonNull []> RedisZSetCommands.zRangeByLex
(byte @NonNull [] key, @NonNull Range<byte @NonNull []> range, @NonNull Limit limit) Get all the elements inRange
from the sorted set at key in lexicographical ordering.StringRedisConnection.zRangeByLex
(@NonNull String key, @NonNull Range<String> range, @NonNull 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 Flux
<ByteBuffer> ReactiveZSetCommands.zRangeByScore
(ByteBuffer key, Range<Double> range, Limit limit) Get elements in range from sorted set.Set
<byte @NonNull []> RedisZSetCommands.zRangeByScore
(byte @NonNull [] key, @NonNull Range<? extends @NonNull Number> range, @NonNull 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) ReactiveZSetCommands.zRangeByScoreWithScores
(ByteBuffer key, Range<Double> range, Limit limit) GetTuple
s in range from sorted set.RedisZSetCommands.zRangeByScoreWithScores
(byte @NonNull [] key, @NonNull Range<? extends @NonNull Number> range, @NonNull 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) ReactiveZSetCommands.zRangeStoreByLex
(ByteBuffer srcKey, ByteBuffer destKey, Range<String> range, Limit limit) Add elements fromsrcKey
by lexicographical range todestKey
.RedisZSetCommands.zRangeStoreByLex
(byte @NonNull [] dstKey, byte @NonNull [] srcKey, @NonNull Range<byte @NonNull []> range, @NonNull Limit limit) This command is like ZRANGE , but stores the result in the dstKey destination key.StringRedisConnection.zRangeStoreByLex
(@NonNull String dstKey, @NonNull String srcKey, @NonNull Range<String> range, @NonNull 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) ReactiveZSetCommands.zRangeStoreByScore
(ByteBuffer srcKey, ByteBuffer destKey, Range<Double> range, Limit limit) Add elements fromsrcKey
by score range todestKey
.RedisZSetCommands.zRangeStoreByScore
(byte @NonNull [] dstKey, byte @NonNull [] srcKey, @NonNull Range<? extends @NonNull Number> range, @NonNull Limit limit) This command is like ZRANGE, but stores the result in the dstKey destination key.StringRedisConnection.zRangeStoreByScore
(@NonNull String dstKey, @NonNull String srcKey, @NonNull Range<? extends Number> range, @NonNull 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) ReactiveZSetCommands.zRangeStoreRevByLex
(ByteBuffer srcKey, ByteBuffer destKey, Range<String> range, Limit limit) Add elements fromsrcKey
by reverse lexicographical range todestKey
.RedisZSetCommands.zRangeStoreRevByLex
(byte @NonNull [] dstKey, byte @NonNull [] srcKey, @NonNull Range<byte @NonNull []> range, @NonNull Limit limit) This command is like ZRANGE … REV , but stores the result in the dstKey destination key.StringRedisConnection.zRangeStoreRevByLex
(@NonNull String dstKey, @NonNull String srcKey, @NonNull Range<String> range, @NonNull 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) ReactiveZSetCommands.zRangeStoreRevByScore
(ByteBuffer srcKey, ByteBuffer destKey, Range<Double> range, Limit limit) Add elements fromsrcKey
by reverse score range todestKey
.RedisZSetCommands.zRangeStoreRevByScore
(byte @NonNull [] dstKey, byte @NonNull [] srcKey, @NonNull Range<? extends @NonNull Number> range, @NonNull Limit limit) This command is like ZRANGE … REV, but stores the result in the dstKey destination key.StringRedisConnection.zRangeStoreRevByScore
(@NonNull String dstKey, @NonNull String srcKey, @NonNull Range<? extends Number> range, @NonNull 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 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 @NonNull []> RedisZSetCommands.zRevRangeByLex
(byte @NonNull [] key, @NonNull Range<byte @NonNull []> range, @NonNull Limit limit) Get all the elements inRange
from the sorted set at key in reversed lexicographical ordering.StringRedisConnection.zRevRangeByLex
(@NonNull String key, @NonNull Range<String> range, @NonNull 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 Flux
<ByteBuffer> ReactiveZSetCommands.zRevRangeByScore
(ByteBuffer key, Range<Double> range, Limit limit) Get elements in range from sorted set in reverse score ordering.Set
<byte @NonNull []> RedisZSetCommands.zRevRangeByScore
(byte @NonNull [] key, @NonNull Range<? extends @NonNull Number> range, @NonNull 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) ReactiveZSetCommands.zRevRangeByScoreWithScores
(ByteBuffer key, Range<Double> range, Limit limit) GetTuple
s in range from sorted set in reverse score ordering.RedisZSetCommands.zRevRangeByScoreWithScores
(byte @NonNull [] key, @NonNull Range<? extends @NonNull Number> range, @NonNull 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
Methods in org.springframework.data.redis.connection.lettuce with parameters of type Limit -
Uses of Limit in org.springframework.data.redis.core
Methods in org.springframework.data.redis.core with parameters of type LimitModifier and TypeMethodDescriptiondefault <V> Flux
<ObjectRecord<K, V>> ReactiveStreamOperations.range
(@NonNull Class<V> targetType, @NonNull K key, @NonNull Range<String> range, @NonNull Limit limit) default <V> List
<@NonNull ObjectRecord<K, V>> StreamOperations.range
(@NonNull Class<V> targetType, @NonNull K key, @NonNull Range<String> range, @NonNull Limit limit) BoundZSetOperations.rangeAndStoreByLex
(@NonNull K dstKey, @NonNull Range<String> range, @NonNull 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()
.ReactiveZSetOperations.rangeAndStoreByLex
(@NonNull K srcKey, @NonNull K dstKey, @NonNull Range<String> range, @NonNull Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with lexicographical ordering from ZSET atsrcKey
with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.ZSetOperations.rangeAndStoreByLex
(@NonNull K srcKey, @NonNull K dstKey, @NonNull Range<String> range, @NonNull Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with lexicographical ordering from ZSET atsrcKey
with a value betweenRange.getLowerBound()
andRange.getUpperBound()
.BoundZSetOperations.rangeAndStoreByScore
(@NonNull K dstKey, @NonNull Range<? extends Number> range, @NonNull 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()
.ReactiveZSetOperations.rangeAndStoreByScore
(@NonNull K srcKey, @NonNull K dstKey, @NonNull Range<Double> range, @NonNull Limit limit) Store n elements atdstKey
, where n =getCount()
, starting atgetOffset()
with ordering by score from ZSET atsrcKey
with a score betweenRange.getLowerBound()
andRange.getUpperBound()
.ZSetOperations.rangeAndStoreByScore
(@NonNull K srcKey, @NonNull K dstKey, @NonNull Range<? extends Number> range, @NonNull Limit limit) 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, @NonNull Limit limit) Get all elements n elements, where n =getCount()
, starting atgetOffset()
with lexicographical ordering having a value betweenRange.getLowerBound()
andRange.getUpperBound()
.ReactiveZSetOperations.rangeByLex
(@NonNull K key, @NonNull Range<String> range, @NonNull 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
(@NonNull K key, @NonNull Range<String> range, @NonNull 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()
.ReactiveZSetOperations.rangeByScore
(@NonNull K key, @NonNull Range<Double> range, @NonNull Limit limit) Get elements in range fromstart
toend
where score is betweenmin
andmax
from sorted set.ReactiveZSetOperations.rangeByScoreWithScores
(@NonNull K key, @NonNull Range<Double> range, @NonNull Limit limit) BoundStreamOperations.reverseRange
(@NonNull Range<String> range, @NonNull Limit limit) ReactiveStreamOperations.reverseRange
(@NonNull K key, @NonNull Range<String> range, @NonNull Limit limit) default <V> Flux
<ObjectRecord<K, V>> ReactiveStreamOperations.reverseRange
(@NonNull Class<V> targetType, @NonNull K key, @NonNull Range<String> range, @NonNull Limit limit) Read records from a stream within a specificRange
applying aLimit
in reverse order asObjectRecord
.StreamOperations.reverseRange
(@NonNull K key, @NonNull Range<String> range, @NonNull Limit limit) default <V> List
<@NonNull ObjectRecord<K, V>> StreamOperations.reverseRange
(@NonNull Class<V> targetType, @NonNull K key, @NonNull Range<String> range, @NonNull Limit limit) Read records from a stream within a specificRange
applying aLimit
in reverse order asObjectRecord
.BoundZSetOperations.reverseRangeAndStoreByLex
(@NonNull K dstKey, @NonNull Range<String> range, @NonNull 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()
.ReactiveZSetOperations.reverseRangeAndStoreByLex
(@NonNull K srcKey, @NonNull K dstKey, @NonNull Range<String> range, @NonNull 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()
.ZSetOperations.reverseRangeAndStoreByLex
(@NonNull K srcKey, @NonNull K dstKey, @NonNull Range<String> range, @NonNull 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()
.BoundZSetOperations.reverseRangeAndStoreByScore
(@NonNull K dstKey, @NonNull Range<? extends Number> range, @NonNull 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()
.ReactiveZSetOperations.reverseRangeAndStoreByScore
(@NonNull K srcKey, @NonNull K dstKey, @NonNull Range<Double> range, @NonNull 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
(@NonNull K srcKey, @NonNull K dstKey, @NonNull Range<? extends Number> range, @NonNull 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
(@NonNull Range<String> range, @NonNull Limit limit) Get all elements n elements, where n =getCount()
, starting atgetOffset()
with reverse lexicographical ordering having a value betweenRange.getLowerBound()
andRange.getUpperBound()
.ReactiveZSetOperations.reverseRangeByLex
(@NonNull K key, @NonNull Range<String> range, @NonNull 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
(@NonNull K key, @NonNull Range<String> range, @NonNull 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()
.ReactiveZSetOperations.reverseRangeByScore
(@NonNull K key, @NonNull Range<Double> range, @NonNull Limit limit) Get elements in range fromstart
toend
where score is betweenmin
andmax
from sorted set ordered high -> low.ReactiveZSetOperations.reverseRangeByScoreWithScores
(@NonNull K key, @NonNull Range<Double> range, @NonNull 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
Methods in org.springframework.data.redis.support.collections with parameters of type LimitModifier 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()
.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()
.
Limit
instead.