Package org.redisson.api
Interface RLexSortedSetRx
- All Superinterfaces:
RCollectionRx<String>,RExpirableRx,RObjectRx,RScoredSortedSetRx<String>,RSortableRx<Set<String>>
RxJava2 interface for sorted set contained values of String type.
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Integer> Returns the number of elements betweenfromElementandtoElement.io.reactivex.rxjava3.core.Single<Integer> Returns the number of head values ending withtoElement.io.reactivex.rxjava3.core.Single<Integer> Returns the number of tail values starting withfromElement.io.reactivex.rxjava3.core.Single<Collection<String>> Returns values range starting withfromElementand 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 withfromElementand ending withtoElement.io.reactivex.rxjava3.core.Single<Collection<String>> Returns head values range ending withtoElement.io.reactivex.rxjava3.core.Single<Collection<String>> Returns head values range ending withtoElement.io.reactivex.rxjava3.core.Single<Collection<String>> Returns tail values range starting withfromElement.io.reactivex.rxjava3.core.Single<Collection<String>> 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 withfromElementand 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, sizeMethods inherited from interface org.redisson.api.RExpirableRx
clearExpire, expire, expire, expire, expireAt, expireAt, expireIfGreater, expireIfGreater, expireIfLess, expireIfLess, expireIfNotSet, expireIfNotSet, expireIfSet, expireIfSet, getExpireTime, remainTimeToLiveMethods inherited from interface org.redisson.api.RObjectRx
copy, delete, dump, getCodec, getIdleTime, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlinkMethods inherited from interface org.redisson.api.RScoredSortedSetRx
add, addAll, addAllIfAbsent, addAllIfExist, addAllIfGreater, addAllIfLess, addAndGetRank, addAndGetRevRank, addAndGetRevRank, addIfAbsent, addIfExists, addIfGreater, addIfLess, addListener, addScore, addScoreAndGetRank, addScoreAndGetRevRank, contains, containsAll, count, countIntersection, countIntersection, diff, entryIterator, entryIterator, entryIterator, entryIterator, entryRange, entryRange, entryRange, entryRangeReversed, entryRangeReversed, entryRangeReversed, first, firstEntry, firstScore, getScore, getScore, intersection, intersection, intersection, intersection, iterator, iterator, iterator, iterator, last, lastEntry, lastScore, pollFirst, pollFirst, pollFirst, pollFirst, pollFirstEntries, pollFirstEntries, pollFirstEntriesFromAny, pollFirstEntriesFromAny, pollFirstEntry, pollFirstFromAny, pollFirstFromAny, pollFirstFromAny, pollLast, pollLast, pollLast, pollLast, pollLastEntries, pollLastEntries, pollLastEntriesFromAny, pollLastEntriesFromAny, pollLastEntry, pollLastFromAny, pollLastFromAny, pollLastFromAny, random, random, randomEntries, rangeTo, rangeTo, rangeTo, rank, rankEntry, readAll, readDiff, readIntersection, readIntersection, readIntersection, readIntersection, readUnion, readUnion, readUnion, readUnion, remove, removeAll, removeRangeByRank, removeRangeByScore, replace, retainAll, revRangeTo, revRangeTo, revRangeTo, revRank, revRank, revRankEntry, size, takeFirst, takeFirstElements, takeLast, takeLastElements, tryAdd, union, union, union, union, valueRange, valueRange, valueRange, valueRangeReversed, valueRangeReversed, valueRangeReversedMethods inherited from interface org.redisson.api.RSortableRx
readSorted, readSorted, readSorted, readSorted, readSorted, readSorted, sortTo, sortTo, sortTo, sortTo, sortTo, sortTo
-
Method Details
-
removeRange
io.reactivex.rxjava3.core.Single<Integer> removeRange(String fromElement, boolean fromInclusive, String toElement, boolean toInclusive) Removes values range starting withfromElementand 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
Removes head values range ending withtoElement.- Parameters:
toElement- - end elementtoInclusive- - end element inclusive- Returns:
- number of elements removed
-
countTail
Returns the number of tail values starting withfromElement.- Parameters:
fromElement- - start elementfromInclusive- - start element inclusive- Returns:
- number of elements
-
countHead
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 withfromElementand 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 bycountand 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 bycountand 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 withfromElementand ending withtoElement. Returned collection limited bycountand 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 betweenfromElementandtoElement.- Parameters:
fromElement- - start elementfromInclusive- - start element inclusivetoElement- - end elementtoInclusive- - end element inclusive- Returns:
- number of elements
-