Package org.redisson.api
Interface RLexSortedSetRx
-
- All Superinterfaces:
RCollectionRx<String>
,RExpirableRx
,RObjectRx
,RScoredSortedSetRx<String>
,RSortableRx<Set<String>>
public interface RLexSortedSetRx extends RScoredSortedSetRx<String>, RCollectionRx<String>
RxJava2 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 io.reactivex.rxjava3.core.Single<Integer>
count(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
Returns the number of elements betweenfromElement
andtoElement
.io.reactivex.rxjava3.core.Single<Integer>
countHead(String toElement, boolean toInclusive)
Returns the number of head values ending withtoElement
.io.reactivex.rxjava3.core.Single<Integer>
countTail(String fromElement, boolean fromInclusive)
Returns the number of tail values starting withfromElement
.io.reactivex.rxjava3.core.Single<Collection<String>>
range(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
Returns values range starting withfromElement
and ending withtoElement
.io.reactivex.rxjava3.core.Single<Collection<String>>
range(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive, int offset, int count)
Returns values range starting withfromElement
and ending withtoElement
.io.reactivex.rxjava3.core.Single<Collection<String>>
rangeHead(String toElement, boolean toInclusive)
Returns head values range ending withtoElement
.io.reactivex.rxjava3.core.Single<Collection<String>>
rangeHead(String toElement, boolean toInclusive, int offset, int count)
Returns head values range ending withtoElement
.io.reactivex.rxjava3.core.Single<Collection<String>>
rangeTail(String fromElement, boolean fromInclusive)
Returns tail values range starting withfromElement
.io.reactivex.rxjava3.core.Single<Collection<String>>
rangeTail(String fromElement, boolean fromInclusive, int offset, int count)
Returns tail values range starting withfromElement
.io.reactivex.rxjava3.core.Single<Integer>
removeRange(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive)
Removes values range starting withfromElement
and ending withtoElement
.io.reactivex.rxjava3.core.Single<Integer>
removeRangeHead(String toElement, boolean toInclusive)
Removes head values range ending withtoElement
.io.reactivex.rxjava3.core.Single<Integer>
removeRangeTail(String fromElement, boolean fromInclusive)
Removes tail values range starting withfromElement
.-
Methods inherited from interface org.redisson.api.RCollectionRx
add, addAll, addAll, contains, containsAll, iterator, remove, removeAll, retainAll, size
-
Methods inherited from interface org.redisson.api.RExpirableRx
clearExpire, expire, expireAt, expireAt, expireAt, remainTimeToLive
-
Methods inherited from interface org.redisson.api.RObjectRx
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.RScoredSortedSetRx
add, addAll, addAndGetRank, addAndGetRevRank, addAndGetRevRank, addIfExists, addIfGreater, addIfLess, addScore, addScoreAndGetRank, addScoreAndGetRevRank, contains, containsAll, count, countIntersection, countIntersection, 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.RSortableRx
readSorted, readSorted, readSorted, readSorted, readSorted, readSorted, sortTo, sortTo, sortTo, sortTo, sortTo, sortTo
-
-
-
-
Method Detail
-
removeRange
io.reactivex.rxjava3.core.Single<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
io.reactivex.rxjava3.core.Single<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
io.reactivex.rxjava3.core.Single<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
io.reactivex.rxjava3.core.Single<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
io.reactivex.rxjava3.core.Single<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
io.reactivex.rxjava3.core.Single<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
io.reactivex.rxjava3.core.Single<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
io.reactivex.rxjava3.core.Single<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
io.reactivex.rxjava3.core.Single<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
io.reactivex.rxjava3.core.Single<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
io.reactivex.rxjava3.core.Single<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
io.reactivex.rxjava3.core.Single<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
-
-