Package org.redisson.api
Interface RLexSortedSetReactive
-
- All Superinterfaces:
RCollectionReactive<String>
,RExpirableReactive
,RObjectReactive
,RScoredSortedSetReactive<String>
,RSortableReactive<Set<String>>
public interface RLexSortedSetReactive extends RScoredSortedSetReactive<String>, RCollectionReactive<String>
Reactive interface for sorted set contained values of String type.- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<Integer>
count(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
Returns the number of elements betweenfromElement
andtoElement
.reactor.core.publisher.Mono<Integer>
countHead(String toElement, boolean toInclusive)
Returns the number of head values ending withtoElement
.reactor.core.publisher.Mono<Integer>
countTail(String fromElement, boolean fromInclusive)
Returns the number of tail values starting withfromElement
.reactor.core.publisher.Mono<Collection<String>>
range(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
Returns values range starting withfromElement
and ending withtoElement
.reactor.core.publisher.Mono<Collection<String>>
range(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive, int offset, int count)
Returns values range starting withfromElement
and ending withtoElement
.reactor.core.publisher.Mono<Collection<String>>
rangeHead(String toElement, boolean toInclusive)
Returns head values range ending withtoElement
.reactor.core.publisher.Mono<Collection<String>>
rangeHead(String toElement, boolean toInclusive, int offset, int count)
Returns head values range ending withtoElement
.reactor.core.publisher.Mono<Collection<String>>
rangeTail(String fromElement, boolean fromInclusive)
Returns tail values range starting withfromElement
.reactor.core.publisher.Mono<Collection<String>>
rangeTail(String fromElement, boolean fromInclusive, int offset, int count)
Returns tail values range starting withfromElement
.reactor.core.publisher.Mono<Integer>
removeRange(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
Removes values range starting withfromElement
and ending withtoElement
.reactor.core.publisher.Mono<Integer>
removeRangeHead(String toElement, boolean toInclusive)
Removes head values range ending withtoElement
.reactor.core.publisher.Mono<Integer>
removeRangeTail(String fromElement, boolean fromInclusive)
Removes tail values range starting withfromElement
.-
Methods inherited from interface org.redisson.api.RCollectionReactive
add, addAll, addAll, contains, containsAll, iterator, remove, removeAll, retainAll, size
-
Methods inherited from interface org.redisson.api.RExpirableReactive
clearExpire, expire, expireAt, expireAt, expireAt, remainTimeToLive
-
Methods inherited from interface org.redisson.api.RObjectReactive
addListener, copy, delete, dump, getCodec, getIdleTime, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlink
-
Methods inherited from interface org.redisson.api.RScoredSortedSetReactive
add, addAll, addAndGetRank, addAndGetRevRank, addAndGetRevRank, addIfExists, addIfGreater, addIfLess, addScore, addScoreAndGetRank, addScoreAndGetRevRank, contains, containsAll, count, diff, entryRange, entryRange, entryRange, entryRangeReversed, entryRangeReversed, entryRangeReversed, first, firstScore, getScore, getScore, intersection, intersection, intersection, intersection, iterator, iterator, iterator, iterator, last, lastScore, pollFirst, pollFirst, pollFirst, pollFirstFromAny, pollLast, pollLast, pollLast, pollLastFromAny, random, random, randomEntries, rangeTo, rangeTo, rangeTo, rank, readAll, readDiff, readIntersection, readIntersection, readIntersection, readIntersection, readUnion, readUnion, readUnion, readUnion, remove, removeAll, removeRangeByRank, removeRangeByScore, retainAll, revRangeTo, revRangeTo, revRangeTo, revRank, revRank, size, takeFirst, takeFirstElements, takeLast, takeLastElements, tryAdd, union, union, union, union, valueRange, valueRange, valueRange, valueRangeReversed, valueRangeReversed, valueRangeReversed
-
Methods inherited from interface org.redisson.api.RSortableReactive
readSorted, readSorted, readSorted, readSorted, readSorted, readSorted, sortTo, sortTo, sortTo, sortTo, sortTo, sortTo
-
-
-
-
Method Detail
-
removeRange
reactor.core.publisher.Mono<Integer> removeRange(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
Removes values range starting withfromElement
and ending withtoElement
.- Parameters:
fromElement
- - start elementfromInclusive
- - start element inclusivetoElement
- - end elementtoInclusive
- - end element inclusive- Returns:
- number of elements removed
-
removeRangeTail
reactor.core.publisher.Mono<Integer> removeRangeTail(String fromElement, boolean fromInclusive)
Removes tail values range starting withfromElement
.- Parameters:
fromElement
- - start elementfromInclusive
- - start element inclusive- Returns:
- number of elements removed
-
removeRangeHead
reactor.core.publisher.Mono<Integer> removeRangeHead(String toElement, boolean toInclusive)
Removes head values range ending withtoElement
.- Parameters:
toElement
- - end elementtoInclusive
- - end element inclusive- Returns:
- number of elements removed
-
countTail
reactor.core.publisher.Mono<Integer> countTail(String fromElement, boolean fromInclusive)
Returns the number of tail values starting withfromElement
.- Parameters:
fromElement
- - start elementfromInclusive
- - start element inclusive- Returns:
- number of elements
-
countHead
reactor.core.publisher.Mono<Integer> countHead(String toElement, boolean toInclusive)
Returns the number of head values ending withtoElement
.- Parameters:
toElement
- - end elementtoInclusive
- - end element inclusive- Returns:
- number of elements
-
rangeTail
reactor.core.publisher.Mono<Collection<String>> rangeTail(String fromElement, boolean fromInclusive)
Returns tail values range starting withfromElement
.- Parameters:
fromElement
- - start elementfromInclusive
- - start element inclusive- Returns:
- collection of elements
-
rangeHead
reactor.core.publisher.Mono<Collection<String>> rangeHead(String toElement, boolean toInclusive)
Returns head values range ending withtoElement
.- Parameters:
toElement
- - end elementtoInclusive
- - end element inclusive- Returns:
- collection of elements
-
range
reactor.core.publisher.Mono<Collection<String>> range(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
Returns values range starting withfromElement
and ending withtoElement
.- Parameters:
fromElement
- - start elementfromInclusive
- - start element inclusivetoElement
- - end elementtoInclusive
- - end element inclusive- Returns:
- collection of elements
-
rangeTail
reactor.core.publisher.Mono<Collection<String>> rangeTail(String fromElement, boolean fromInclusive, int offset, int count)
Returns tail values range starting withfromElement
. Returned collection limited bycount
and starts withoffset
.- Parameters:
fromElement
- - start elementfromInclusive
- - start element inclusiveoffset
- - offset of result collectioncount
- - amount of result collection- Returns:
- collection of elements
-
rangeHead
reactor.core.publisher.Mono<Collection<String>> rangeHead(String toElement, boolean toInclusive, int offset, int count)
Returns head values range ending withtoElement
. Returned collection limited bycount
and starts withoffset
.- Parameters:
toElement
- - end elementtoInclusive
- - end element inclusiveoffset
- - offset of result collectioncount
- - amount of result collection- Returns:
- collection of elements
-
range
reactor.core.publisher.Mono<Collection<String>> range(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive, int offset, int count)
Returns values range starting withfromElement
and ending withtoElement
. Returned collection limited bycount
and starts withoffset
.- Parameters:
fromElement
- - start elementfromInclusive
- - start element inclusivetoElement
- - end elementtoInclusive
- - end element inclusiveoffset
- - offset of result collectioncount
- - amount of result collection- Returns:
- collection of elements
-
count
reactor.core.publisher.Mono<Integer> count(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
Returns the number of elements betweenfromElement
andtoElement
.- Parameters:
fromElement
- - start elementfromInclusive
- - start element inclusivetoElement
- - end elementtoInclusive
- - end element inclusive- Returns:
- number of elements
-
-