public interface RScoredSortedSetReactive<V> extends RExpirableReactive
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<Boolean> |
add(double score,
V object) |
org.reactivestreams.Publisher<Double> |
addScore(V object,
Number value) |
org.reactivestreams.Publisher<Boolean> |
contains(V o) |
org.reactivestreams.Publisher<Boolean> |
containsAll(Collection<?> c) |
org.reactivestreams.Publisher<Long> |
count(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive)
Returns the number of elements with a score between
startScore and endScore . |
org.reactivestreams.Publisher<Collection<ScoredEntry<V>>> |
entryRange(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive) |
org.reactivestreams.Publisher<Collection<ScoredEntry<V>>> |
entryRange(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive,
int offset,
int count) |
org.reactivestreams.Publisher<Collection<ScoredEntry<V>>> |
entryRange(int startIndex,
int endIndex) |
org.reactivestreams.Publisher<Collection<ScoredEntry<V>>> |
entryRangeReversed(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive) |
org.reactivestreams.Publisher<Collection<ScoredEntry<V>>> |
entryRangeReversed(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive,
int offset,
int count) |
org.reactivestreams.Publisher<Collection<ScoredEntry<V>>> |
entryRangeReversed(int startIndex,
int endIndex) |
org.reactivestreams.Publisher<V> |
first() |
org.reactivestreams.Publisher<Double> |
getScore(V o) |
org.reactivestreams.Publisher<Integer> |
intersection(Map<String,Double> nameWithWeight)
Intersect provided ScoredSortedSets mapped to weight multiplier
and store result to current ScoredSortedSet
|
org.reactivestreams.Publisher<Integer> |
intersection(RScoredSortedSet.Aggregate aggregate,
Map<String,Double> nameWithWeight)
Intersect provided ScoredSortedSets mapped to weight multiplier
with defined aggregation method
and store result to current ScoredSortedSet
|
org.reactivestreams.Publisher<Integer> |
intersection(RScoredSortedSet.Aggregate aggregate,
String... names)
Intersect provided ScoredSortedSets with defined aggregation method
and store result to current ScoredSortedSet
|
org.reactivestreams.Publisher<Integer> |
intersection(String... names)
Intersect provided ScoredSortedSets
and store result to current ScoredSortedSet
|
org.reactivestreams.Publisher<V> |
iterator() |
org.reactivestreams.Publisher<V> |
last() |
org.reactivestreams.Publisher<V> |
pollFirst() |
org.reactivestreams.Publisher<V> |
pollLast() |
org.reactivestreams.Publisher<Integer> |
rank(V o) |
org.reactivestreams.Publisher<Collection<V>> |
readAll()
Read all values at once.
|
org.reactivestreams.Publisher<Boolean> |
remove(V object) |
org.reactivestreams.Publisher<Boolean> |
removeAll(Collection<?> c) |
org.reactivestreams.Publisher<Integer> |
removeRangeByRank(int startIndex,
int endIndex) |
org.reactivestreams.Publisher<Integer> |
removeRangeByScore(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive) |
org.reactivestreams.Publisher<Boolean> |
retainAll(Collection<?> c) |
org.reactivestreams.Publisher<Integer> |
size() |
org.reactivestreams.Publisher<Integer> |
union(Map<String,Double> nameWithWeight)
Union provided ScoredSortedSets mapped to weight multiplier
and store result to current ScoredSortedSet
|
org.reactivestreams.Publisher<Integer> |
union(RScoredSortedSet.Aggregate aggregate,
Map<String,Double> nameWithWeight)
Union provided ScoredSortedSets mapped to weight multiplier
with defined aggregation method
and store result to current ScoredSortedSet
|
org.reactivestreams.Publisher<Integer> |
union(RScoredSortedSet.Aggregate aggregate,
String... names)
Union provided ScoredSortedSets with defined aggregation method
and store result to current ScoredSortedSet
|
org.reactivestreams.Publisher<Integer> |
union(String... names)
Union provided ScoredSortedSets
and store result to current ScoredSortedSet
|
org.reactivestreams.Publisher<Collection<V>> |
valueRange(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive) |
org.reactivestreams.Publisher<Collection<V>> |
valueRange(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive,
int offset,
int count) |
org.reactivestreams.Publisher<Collection<V>> |
valueRange(int startIndex,
int endIndex) |
org.reactivestreams.Publisher<Collection<V>> |
valueRangeReversed(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive)
Returns all values between
startScore and endScore in reversed order. |
org.reactivestreams.Publisher<Collection<V>> |
valueRangeReversed(double startScore,
boolean startScoreInclusive,
double endScore,
boolean endScoreInclusive,
int offset,
int count) |
org.reactivestreams.Publisher<Collection<V>> |
valueRangeReversed(int startIndex,
int endIndex) |
clearExpire, expire, expireAt, expireAt, remainTimeToLive
org.reactivestreams.Publisher<V> pollFirst()
org.reactivestreams.Publisher<V> pollLast()
org.reactivestreams.Publisher<V> iterator()
org.reactivestreams.Publisher<V> first()
org.reactivestreams.Publisher<V> last()
org.reactivestreams.Publisher<Integer> removeRangeByScore(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive)
org.reactivestreams.Publisher<Integer> removeRangeByRank(int startIndex, int endIndex)
org.reactivestreams.Publisher<Integer> size()
org.reactivestreams.Publisher<Boolean> containsAll(Collection<?> c)
org.reactivestreams.Publisher<Boolean> removeAll(Collection<?> c)
org.reactivestreams.Publisher<Boolean> retainAll(Collection<?> c)
org.reactivestreams.Publisher<Collection<V>> valueRange(int startIndex, int endIndex)
org.reactivestreams.Publisher<Collection<ScoredEntry<V>>> entryRange(int startIndex, int endIndex)
org.reactivestreams.Publisher<Collection<V>> valueRange(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive)
org.reactivestreams.Publisher<Collection<ScoredEntry<V>>> entryRange(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive)
org.reactivestreams.Publisher<Collection<V>> valueRange(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive, int offset, int count)
org.reactivestreams.Publisher<Collection<ScoredEntry<V>>> entryRange(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive, int offset, int count)
org.reactivestreams.Publisher<Collection<V>> valueRangeReversed(int startIndex, int endIndex)
org.reactivestreams.Publisher<Collection<V>> valueRangeReversed(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive)
startScore
and endScore
in reversed order.startScore
- - start score.
Use Double.POSITIVE_INFINITY
or Double.NEGATIVE_INFINITY
to define infinity numbersstartScoreInclusive
- - start score inclusiveendScore
- - end score
Use Double.POSITIVE_INFINITY
or Double.NEGATIVE_INFINITY
to define infinity numbersendScoreInclusive
- - end score inclusiveorg.reactivestreams.Publisher<Collection<V>> valueRangeReversed(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive, int offset, int count)
org.reactivestreams.Publisher<Collection<ScoredEntry<V>>> entryRangeReversed(int startIndex, int endIndex)
org.reactivestreams.Publisher<Collection<ScoredEntry<V>>> entryRangeReversed(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive)
org.reactivestreams.Publisher<Collection<ScoredEntry<V>>> entryRangeReversed(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive, int offset, int count)
org.reactivestreams.Publisher<Long> count(double startScore, boolean startScoreInclusive, double endScore, boolean endScoreInclusive)
startScore
and endScore
.startScore
- - start scorestartScoreInclusive
- - start score inclusiveendScore
- - end scoreendScoreInclusive
- - end score inclusiveorg.reactivestreams.Publisher<Collection<V>> readAll()
org.reactivestreams.Publisher<Integer> intersection(String... names)
names
- - names of ScoredSortedSetorg.reactivestreams.Publisher<Integer> intersection(RScoredSortedSet.Aggregate aggregate, String... names)
aggregate
- - score aggregation modenames
- - names of ScoredSortedSetorg.reactivestreams.Publisher<Integer> intersection(Map<String,Double> nameWithWeight)
nameWithWeight
- - name of ScoredSortedSet mapped to weight multiplierorg.reactivestreams.Publisher<Integer> intersection(RScoredSortedSet.Aggregate aggregate, Map<String,Double> nameWithWeight)
aggregate
- - score aggregation modenameWithWeight
- - name of ScoredSortedSet mapped to weight multiplierorg.reactivestreams.Publisher<Integer> union(String... names)
names
- - names of ScoredSortedSetorg.reactivestreams.Publisher<Integer> union(RScoredSortedSet.Aggregate aggregate, String... names)
aggregate
- - score aggregation modenames
- - names of ScoredSortedSetorg.reactivestreams.Publisher<Integer> union(Map<String,Double> nameWithWeight)
nameWithWeight
- - name of ScoredSortedSet mapped to weight multiplierorg.reactivestreams.Publisher<Integer> union(RScoredSortedSet.Aggregate aggregate, Map<String,Double> nameWithWeight)
aggregate
- - score aggregation modenameWithWeight
- - name of ScoredSortedSet mapped to weight multiplierCopyright © 2014–2017 The Redisson Project. All rights reserved.